[Webkit-unassigned] [Bug 155782] New: Some CSS Custom Properties do not recalculate when new stylesheet is added to DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 21:21:53 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=155782

            Bug ID: 155782
           Summary: Some CSS Custom Properties do not recalculate when new
                    stylesheet is added to DOM
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Unspecified
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dfreedm at google.com

If a stylesheet is added to the DOM dynamically, and it defines a CSS Custom Property used in another rule for the border property, it does not apply the border effect.

Steps to reproduce
1. Load attached css-vars-late-style.html in Safari 9.1
2. Note that the element with text content "Should be bordered" does not have a border

Expected Results
Div with content "Should be bordered" should have a 10px solid green border.

Actual Results
Div is not bordered

Works in Chrome 49 and Firefox 45

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160323/4c600aa0/attachment-0001.html>


More information about the webkit-unassigned mailing list