mirror of
https://github.com/servo/servo.git
synced 2025-10-03 10:09:20 +01:00
Fix #6799: set stacking_context_position correctly on
fragment_border_iterator
This commit is contained in:
parent
2151a1f459
commit
33a46597ed
5 changed files with 67 additions and 18 deletions
|
@ -321172,6 +321172,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"cssom/GetBoundingRect.html": [
|
||||
[
|
||||
"/cssom/GetBoundingRect.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"cssom/MediaList.html": [
|
||||
[
|
||||
"/cssom/MediaList.html",
|
||||
|
@ -553765,6 +553771,10 @@
|
|||
"f0d47464da9d30e70733f09af78f3e9f982c4406",
|
||||
"testharness"
|
||||
],
|
||||
"cssom/GetBoundingRect.html": [
|
||||
"7e5a8b25753ac970c2d192376c9dd93943b3dbb5",
|
||||
"testharness"
|
||||
],
|
||||
"cssom/MediaList.html": [
|
||||
"21d9e43514fb3a7fbf8933429242dc544224ef24",
|
||||
"testharness"
|
||||
|
|
30
tests/wpt/web-platform-tests/cssom/GetBoundingRect.html
Normal file
30
tests/wpt/web-platform-tests/cssom/GetBoundingRect.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>getBoundingClientRect</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<style>
|
||||
#foo {
|
||||
margin: 0px 0px 0px 5px;
|
||||
transform: translate(10px, 200px);
|
||||
position: fixed;
|
||||
left: 5px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="foo">
|
||||
FOO
|
||||
</div>
|
||||
<script>
|
||||
test(function () {
|
||||
var foo = document.getElementById("foo").getBoundingClientRect();
|
||||
assert_equals(foo.left, 20);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue