Changeset 94790 in webkit
- Timestamp:
- Sep 8, 2011 1:33:45 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r94789 r94790 1 2011-09-08 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r94784. 4 http://trac.webkit.org/changeset/94784 5 https://bugs.webkit.org/show_bug.cgi?id=67796 6 7 Commit was premature (Requested by rolandsteiner on #webkit). 8 9 * fast/css/style-scoped/basic-attribute-expected.txt: Removed. 10 * fast/css/style-scoped/basic-attribute.html: Removed. 11 1 12 2011-09-08 W. James MacLean <wjmaclean@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r94789 r94790 1 2011-09-08 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r94784. 4 http://trac.webkit.org/changeset/94784 5 https://bugs.webkit.org/show_bug.cgi?id=67796 6 7 Commit was premature (Requested by rolandsteiner on #webkit). 8 9 * html/HTMLAttributeNames.in: 10 * html/HTMLStyleElement.cpp: 11 * html/HTMLStyleElement.h: 12 * html/HTMLStyleElement.idl: 13 1 14 2011-09-08 W. James MacLean <wjmaclean@chromium.org> 2 15 -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r94784 r94790 267 267 scheme 268 268 scope 269 scoped270 269 scrollamount 271 270 scrolldelay -
trunk/Source/WebCore/html/HTMLStyleElement.cpp
r94784 r94790 95 95 } 96 96 97 bool HTMLStyleElement::scoped() const98 {99 return fastHasAttribute(scopedAttr);100 }101 102 void HTMLStyleElement::setScoped(bool scopedValue)103 {104 setBooleanAttribute(scopedAttr, scopedValue);105 }106 107 Element* HTMLStyleElement::scopingElement() const108 {109 if (!scoped())110 return 0;111 112 // FIXME: This probably needs to be refined for scoped stylesheets within shadow DOM.113 // As written, such a stylesheet could style the host element, as well as children of the host.114 // OTOH, this paves the way for a :bound-element implementation.115 ContainerNode* parentOrHost = parentOrHostNode();116 if (!parentOrHost || !parentOrHost->isElementNode())117 return 0;118 119 return toElement(parentOrHost);120 }121 122 97 void HTMLStyleElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const 123 98 { -
trunk/Source/WebCore/html/HTMLStyleElement.h
r94784 r94790 38 38 void setType(const AtomicString&); 39 39 40 bool scoped() const;41 void setScoped(bool);42 Element* scopingElement() const;43 44 40 using StyleElement::sheet; 45 41 -
trunk/Source/WebCore/html/HTMLStyleElement.idl
r94784 r94790 23 23 interface HTMLStyleElement : HTMLElement { 24 24 attribute boolean disabled; 25 attribute boolean scoped;26 25 attribute [Reflect] DOMString media; 27 26 attribute [Reflect] DOMString type;
Note: See TracChangeset
for help on using the changeset viewer.