WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
Test Case
testCase.html (text/html), 532 bytes, created by
Sam Weinig
on 2021-04-10 10:20:14 PDT
(
hide
)
Description:
Test Case
Filename:
MIME Type:
Creator:
Sam Weinig
Created:
2021-04-10 10:20:14 PDT
Size:
532 bytes
patch
obsolete
><html> > <style> > div#otherElement { > font-weight: bold; > }; > </style> > <body> > <div id="styledElement">Sweet stylez!</div> > <div id="otherElement">Blocked stylez!</div> > <pre id="log"></pre> > <script> > let log = document.getElementById("log"); > log.append(window.getComputedStyle(document.getElementById('styledElement'))['font-weight'] + "\n"); > log.append(window.getComputedStyle(document.getElementById('otherElement'))['font-weight'] + "\n"); > </script> > </body> ></html>
<html> <style> div#otherElement { font-weight: bold; }; </style> <body> <div id="styledElement">Sweet stylez!</div> <div id="otherElement">Blocked stylez!</div> <pre id="log"></pre> <script> let log = document.getElementById("log"); log.append(window.getComputedStyle(document.getElementById('styledElement'))['font-weight'] + "\n"); log.append(window.getComputedStyle(document.getElementById('otherElement'))['font-weight'] + "\n"); </script> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 222518
:
422110
|
425080
|
425105
|
425107
|
425108
|
425158
|
425187
| 425687 |
425697
|
425709