зеркало из https://github.com/mozilla/gecko-dev.git
Add testcase to check that mIsTopOfPage is false when reflowing blocks that have clearance. (There was originally a patch here, but it seems not to be needed, so now it's just tests.) (Bug 563584, patch 27)
This commit is contained in:
Родитель
b479bd2afc
Коммит
bef2939650
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-print">
|
||||
<title>Test that mIsTopOfPage is not set when clearing</title>
|
||||
<body style="margin: 0">
|
||||
<div style="background: aqua; height: 1in; width: 1in"></div>
|
||||
<div style="background: fuchsia; height: 1.5in; width: 1in; page-break-before: always"></div>
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-print">
|
||||
<title>Test that mIsTopOfPage is not set when clearing</title>
|
||||
<body style="margin: 0">
|
||||
<div style="float: left; background: aqua; height: 1in; width: 1in"></div>
|
||||
<div style="clear: left">
|
||||
<div style="display:inline-block; vertical-align: top; background: fuchsia; height: 1.5in; width: 1in"></div>
|
||||
</div>
|
|
@ -1458,6 +1458,7 @@ random-if(!haveTestPlugin) == 546071-1.html 546071-1-ref.html
|
|||
== 563584-9d.html 563584-9cd-ref.html
|
||||
== 563584-10a.html 563584-10-ref.html
|
||||
== 563584-10b.html 563584-10-ref.html
|
||||
== 563584-11.html 563584-11-ref.html
|
||||
== 564054-1.html 564054-1-ref.html
|
||||
== 564991-1.html 564991-1-ref.html
|
||||
== 565819-1.html 565819-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче