Skip to content
  • rolandsteiner@chromium.org's avatar
    <style scoped>: Add 'scoped' attribute · 16a03c20
    rolandsteiner@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=67718
    
    Source/WebCore:
    
    Add 'scoped' attribute to IDL and attribute list,
    implement and test setting/resetting of the attribute.
    
    Reviewed by Dimitri Glazkov.
    
    Test: fast/css/style-scoped/basic-attribute.html
    
    * html/HTMLAttributeNames.in:
    * html/HTMLStyleElement.cpp:
    (WebCore::HTMLStyleElement::scoped):
    (WebCore::HTMLStyleElement::setScoped):
    (WebCore::HTMLStyleElement::scopingElement):
    * html/HTMLStyleElement.h:
    * html/HTMLStyleElement.idl:
    
    LayoutTests:
    
    Test setting/resetting of the 'scoped' attribute in various circumstances.
    
    Reviewed by Dimitri Glazkov.
    
    * fast/css/style-scoped/basic-attribute-expected.txt: Added.
    * fast/css/style-scoped/basic-attribute.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    16a03c20