Changeset 94813 in webkit
- Timestamp:
- Sep 8, 2011 3:45:23 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r94809 r94813 1 2011-09-08 Roland Steiner <rolandsteiner@chromium.org> 2 3 Unreviewed, rolling out r94809. 4 http://trac.webkit.org/changeset/94809 5 https://bugs.webkit.org/show_bug.cgi?id=67718 6 7 commit _still_ premature, despite CQ eagerness 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 Roland Steiner <rolandsteiner@chromium.org> 2 13 -
trunk/Source/WebCore/ChangeLog
r94811 r94813 1 2011-09-08 Roland Steiner <rolandsteiner@chromium.org> 2 3 Unreviewed, rolling out r94809. 4 http://trac.webkit.org/changeset/94809 5 https://bugs.webkit.org/show_bug.cgi?id=67718 6 7 commit _still_ premature, despite CQ eagerness 8 9 * html/HTMLAttributeNames.in: 10 * html/HTMLStyleElement.cpp: 11 * html/HTMLStyleElement.h: 12 * html/HTMLStyleElement.idl: 13 1 14 2011-09-08 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebCore/html/HTMLAttributeNames.in
r94809 r94813 267 267 scheme 268 268 scope 269 scoped270 269 scrollamount 271 270 scrolldelay -
trunk/Source/WebCore/html/HTMLStyleElement.cpp
r94809 r94813 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
r94809 r94813 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
r94809 r94813 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.