WebKit Bugzilla
Attachment 342937 Details for
Bug 186766
: [DEBUG] Crash under CSSPrimitiveValue::init() when transitioning background-position and reading the computed style
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Testcase
background-position-x-computed-style.html (text/html), 579 bytes, created by
Antoine Quint
on 2018-06-18 08:12:22 PDT
(
hide
)
Description:
Testcase
Filename:
MIME Type:
Creator:
Antoine Quint
Created:
2018-06-18 08:12:22 PDT
Size:
579 bytes
patch
obsolete
><script type="text/javascript"> > > window.addEventListener("DOMContentLoaded", event => { > const element = document.body.appendChild(document.createElement("div")); > > element.style.transitionProperty = "background-position"; > element.style.transitionDuration = "1s"; > > window.setTimeout(() => { > element.style.backgroundPosition = "right 80px bottom 100px"; > window.setTimeout(() => { > console.log(window.getComputedStyle(element).backgroundPositionX); > }, 100); > }); > }); > ></script>
<script type="text/javascript"> window.addEventListener("DOMContentLoaded", event => { const element = document.body.appendChild(document.createElement("div")); element.style.transitionProperty = "background-position"; element.style.transitionDuration = "1s"; window.setTimeout(() => { element.style.backgroundPosition = "right 80px bottom 100px"; window.setTimeout(() => { console.log(window.getComputedStyle(element).backgroundPositionX); }, 100); }); }); </script>
View Attachment As Raw
Actions:
View
Attachments on
bug 186766
: 342937