Changeset 73459 in webkit
- Timestamp:
- Dec 7, 2010 2:01:58 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r73454 r73459 1 2010-12-07 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Kent Tamura. 4 5 Implement HTML5 hidden attribute 6 https://bugs.webkit.org/show_bug.cgi?id=40511 7 8 * fast/forms/caret-rtl.html: Fixed a non-closed comment which added an "hidden" attribute. 9 * fast/html/hidden-attr-expected.txt: Added. 10 * fast/html/hidden-attr.html: Added. Test static and dynamic cases of hidden attribute. 11 1 12 2010-12-07 Philippe Normand <pnormand@igalia.com> 2 13 -
trunk/LayoutTests/fast/forms/caret-rtl.html
r42585 r73459 19 19 Click in the div, the caret should be on the right edge of the div. 20 20 </p> 21 <div CONTENTEDITABLE id="test" style="direction: rtl; width:200px; font-size:2000% "; outline: solid thin; overflow: hidden></div>21 <div CONTENTEDITABLE id="test" style="direction: rtl; width:200px; font-size:2000%; outline: solid thin"></div> 22 22 </body> 23 23 <script> runTest(); </script> -
trunk/WebCore/ChangeLog
r73458 r73459 1 2010-12-07 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Kent Tamura. 4 5 Implement HTML5 hidden attribute 6 https://bugs.webkit.org/show_bug.cgi?id=40511 7 8 Test: fast/html/hidden-attr.html 9 10 * html/HTMLElement.cpp: 11 (WebCore::HTMLElement::mapToEntry): Pick up hidden as a global mapped attribute. 12 (WebCore::HTMLElement::parseMappedAttribute): Map hidden attribute to display: none. 13 1 14 2010-12-07 Kenneth Russell <kbr@google.com> 2 15 -
trunk/WebCore/html/HTMLElement.cpp
r72259 r73459 117 117 bool HTMLElement::mapToEntry(const QualifiedName& attrName, MappedAttributeEntry& result) const 118 118 { 119 if (attrName == alignAttr || 120 attrName == contenteditableAttr) { 119 if (attrName == alignAttr 120 || attrName == contenteditableAttr 121 || attrName == hiddenAttr) { 121 122 result = eUniversal; 122 123 return false; … … 143 144 } else if (attr->name() == contenteditableAttr) { 144 145 setContentEditable(attr); 146 } else if (attr->name() == hiddenAttr) { 147 addCSSProperty(attr, CSSPropertyDisplay, CSSValueNone); 145 148 } else if (attr->name() == tabindexAttr) { 146 149 indexstring = getAttribute(tabindexAttr);
Note: See TracChangeset
for help on using the changeset viewer.