Changeset 94813 in webkit


Ignore:
Timestamp:
Sep 8, 2011 3:45:23 PM (13 years ago)
Author:
rolandsteiner@chromium.org
Message:

Unreviewed, rolling out r94809.
http://trac.webkit.org/changeset/94809
https://bugs.webkit.org/show_bug.cgi?id=67718

commit _still_ premature, despite CQ eagerness

Source/WebCore:

  • html/HTMLAttributeNames.in:
  • html/HTMLStyleElement.cpp:
  • html/HTMLStyleElement.h:
  • html/HTMLStyleElement.idl:

LayoutTests:

  • fast/css/style-scoped/basic-attribute-expected.txt: Removed.
  • fast/css/style-scoped/basic-attribute.html: Removed.
Location:
trunk
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r94809 r94813  
     12011-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
    1122011-09-08  Roland Steiner  <rolandsteiner@chromium.org>
    213
  • trunk/Source/WebCore/ChangeLog

    r94811 r94813  
     12011-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
    1142011-09-08  Sam Weinig  <sam@webkit.org>
    215
  • trunk/Source/WebCore/html/HTMLAttributeNames.in

    r94809 r94813  
    267267scheme
    268268scope
    269 scoped
    270269scrollamount
    271270scrolldelay
  • trunk/Source/WebCore/html/HTMLStyleElement.cpp

    r94809 r94813  
    9595}
    9696
    97 bool HTMLStyleElement::scoped() const
    98 {
    99     return fastHasAttribute(scopedAttr);
    100 }
    101 
    102 void HTMLStyleElement::setScoped(bool scopedValue)
    103 {
    104     setBooleanAttribute(scopedAttr, scopedValue);
    105 }
    106 
    107 Element* HTMLStyleElement::scopingElement() const
    108 {
    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 
    12297void HTMLStyleElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) const
    12398{   
  • trunk/Source/WebCore/html/HTMLStyleElement.h

    r94809 r94813  
    3838    void setType(const AtomicString&);
    3939
    40     bool scoped() const;
    41     void setScoped(bool);
    42     Element* scopingElement() const;
    43 
    4440    using StyleElement::sheet;
    4541
  • trunk/Source/WebCore/html/HTMLStyleElement.idl

    r94809 r94813  
    2323    interface HTMLStyleElement : HTMLElement {
    2424        attribute boolean disabled;
    25         attribute boolean scoped;
    2625        attribute [Reflect] DOMString media;
    2726        attribute [Reflect] DOMString type;
Note: See TracChangeset for help on using the changeset viewer.