- From: <bugzilla@jessica.w3.org>
- Date: Tue, 16 Apr 2013 04:54:01 +0000
- To: www-validator-cvs@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21708
Bug ID: 21708
Summary: Errors with input element: readonly not accepted for
type=text, defaulting of type not allowed
Classification: Unclassified
Product: Validator
Version: HEAD
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: HTML5
Assignee: mike+validator@w3.org
Reporter: jukka.k.korpela@kolumbus.fi
QA Contact: www-validator-cvs@w3.org
<!DOCTYPE html>
<title>Sample 1</title>
<input type=text readonly>
This causes the error message “Attribute readonly not allowed on element input
at this point.” The explanation that follows lists readonly as allowed when
type is text, as it of course is.
<!DOCTYPE html>
<title></title>
<input readonly>
This causes the error message “Element input is missing one or more of the
following attributes: type.”
There is apparently something odd with readonly for type=text: when the type
attribute is specified explicitly, readonly is not allowed; and when readonly
is specified, defaulting of type is not allowed.
<input type=search readonly> validates OK, and so does <input>.
Validator.nu does not have this bug.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 16 April 2013 04:54:18 UTC