forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These tests were presumably written when the flex spec said something along the lines of: "when a forced break (via. page-break-before/page-break-after) is encounted, create a new flex-line". The spec in this state was overloading the fragmentation properties to control breaking of flex-lines, and was subsequently updated to refer to forced breaks when fragmentation was invovled. These tests don't have any fragmentation involved, and are asserting incorrect behaviour that breaks should be inserted. (There is an argument that an additional property/properties should be introduced to allow for this - but that is a separate issue). Updated tests to assert to behaviour change in the presence of page-break-before/page-break-after. Change-Id: Id3575b5b17173681600ed63cd40c8bb87281113b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3813703 Commit-Queue: Ian Kilpatrick <[email protected]> Reviewed-by: David Grogan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1032644}
- Loading branch information
1 parent
4e37177
commit b91acab
Showing
6 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<head> | ||
<title>CSS Test: Testing page-break-before in horizontal multi-line flex containers</title> | ||
<link rel="author" title="Daniel Holbert" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#algo-line-break"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#change-201409-algo-breaks"> | ||
<link rel="match" href="flexbox-break-request-horiz-001-ref.html"> | ||
<meta charset="utf-8"> | ||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<head> | ||
<title>CSS Test: Testing page-break-after in horizontal multi-line flex containers</title> | ||
<link rel="author" title="Daniel Holbert" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#algo-line-break"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#change-201409-algo-breaks"> | ||
<link rel="match" href="flexbox-break-request-horiz-001-ref.html"> | ||
<meta charset="utf-8"> | ||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<head> | ||
<title>CSS Test: Testing page-break-before in vertical multi-line flex containers</title> | ||
<link rel="author" title="Daniel Holbert" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#algo-line-break"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#change-201409-algo-breaks"> | ||
<link rel="match" href="flexbox-break-request-vert-001-ref.html"> | ||
<meta charset="utf-8"> | ||
<style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
<head> | ||
<title>CSS Test: Testing page-break-after in vertical multi-line flex containers</title> | ||
<link rel="author" title="Daniel Holbert" href="mailto:[email protected]"> | ||
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#algo-line-break"> | ||
<link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#change-201409-algo-breaks"> | ||
<link rel="match" href="flexbox-break-request-vert-001-ref.html"> | ||
<meta charset="utf-8"> | ||
<style> | ||
|