Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Ting-Yu Lin 290f578f8a Bug 1633031 Part 2 - Add reftests for fragmenting multi-line column-oriented flex containers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D87108
2020-08-19 21:22:34 +00:00
Ting-Yu Lin 7cb8492735 Bug 1633031 Part 1 - Stop considering available block-size when wrapping flex lines in multi-line column-oriented flex container. r=dholbert
Although this goes against the suggestion of the sample algorithm in the
spec, this brings the layout of the multi-line column-oriented flex
container in paginated context closer to the layout with no
fragmentation. This also matches Google Chrome's behavior.

Tweak flexbox-unbreakable-child-2.html so that it matches the rendering
as of this patch. Change the height of `.muticol` and the removal of
border in `flexContainer` to let two flex items fit exactly into the
flex container's height, making reference easier to write.

Differential Revision: https://phabricator.services.mozilla.com/D87107
2020-08-19 21:10:01 +00:00
Ting-Yu Lin 2905f20adf Bug 1637788 Part 2 - Add more fragmentation reftests for multi-line row-oriented flex containers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D79243
2020-06-11 19:20:38 +00:00
Ting-Yu Lin f169ef67a6 Bug 1637788 Part 1 - Add base fragmentation reftests for multi-line row-oriented flex containers. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D79242
2020-06-11 19:20:13 +00:00
Ting-Yu Lin 2f7da4b95f Bug 1642694 - Build display list for frames in flex container's overflow container list. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D77855
2020-06-03 03:52:29 +00:00
Ting-Yu Lin 546f228245 Bug 1622935 Part 4d - Add more reftests for single-line flex container in zero height multicols. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D74497
2020-05-11 17:08:45 +00:00
Ting-Yu Lin d2c9a57153 Bug 1622935 Part 4c - Add additional single-line flex container fragmentation reftests. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D73170
2020-05-08 22:33:52 +00:00
Ting-Yu Lin 8957f55e9e Bug 1622935 Part 4b - Add base single-line column-reverse/row-reverse flex container fragmentation reftests. r=dholbert
The reftests added in this commit are "base" versions in the sense that
they'll be copied with edits in a later commit.

Differential Revision: https://phabricator.services.mozilla.com/D73169
2020-05-04 23:28:57 +00:00
Ting-Yu Lin 113a61e82e Bug 1622935 Part 4a - Add base single-line column/row flex container fragmentation reftests. r=dholbert
The reftests added in this commit are "base" versions in the sense that
they'll be copied with edits in a later commit.

Differential Revision: https://phabricator.services.mozilla.com/D73168
2020-05-04 23:28:49 +00:00
Ting-Yu Lin 71de052a6a Bug 1627125 Part 7 - Add reftests for flex containers with "box-decoration-break: clone" and unbreakable children. r=dholbert
These reftests are copied from flexbox-unbreakable-child-1-*.html and
flexbox-unbreakable-child-1-*-wrap.html with "box-decoration-break:
clone" added to the flex container.

Note that flexbox-unbreakable-child-3-ref.html is redesigned. It is not
copied from flexbox-unbreakable-child-1-ref.html with
"box-decoration-break: clone" added because the bottom border doesn't
show up in sub-test 3 & 4. (bug 1564726 perhaps?)

Differential Revision: https://phabricator.services.mozilla.com/D69475
2020-04-16 19:24:03 +00:00
Nicolas Silva ed5866c9ca Bug 1616901 - More reftest adjustments. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D67895

--HG--
extra : moz-landing-system : lando
2020-03-23 17:36:41 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

Differential Revision: https://phabricator.services.mozilla.com/D44870

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Sebastian Hengst f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu 96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Cameron McCormack 2aff35af0b Bug 1340500 - stylo: reftest-stylo test expectation adjustments. r=heycam
MozReview-Commit-ID: BQiaDdIdOYE

--HG--
extra : rebase_source : 0b634f96e89ed5505a869762c2d14b867cf8cc40
2017-02-17 19:12:28 +08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Shing Lyu 39ec052547 Bug 1331860 - Update reftest-stylo expectations. r=heycam
--HG--
extra : rebase_source : 2c39a745949d3dfeb369f0e1efbf4befde8535c9
2017-01-12 10:37:36 +08:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Daniel Holbert 70e115555a Bug 1015482 part 2: Adjust sizes in some flexbox reftests so that min-width:auto won't affect their rendering. r=mats 2014-06-02 15:15:13 -07:00
Daniel Holbert 22aae2c243 Bug 939901 part 8: Reftests for multi-line flexbox layout. r=mats
--HG--
rename : layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1a.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1a-wrap.html
rename : layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1b.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1b-wrap.html
rename : layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1c.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1c-wrap.html
rename : layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1d.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1d-wrap.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-1-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-1.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-2-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-item-horiz-1.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-baseline-multi-line-horiz-2.html
2013-12-05 10:57:52 -08:00
Daniel Holbert b4f45ff10d Bug 811024 part 6: reftests for fragmenting flex containers that contain a single unbreakable child. r=mats
--HG--
rename : layout/reftests/flexbox/pagination/flexbox-empty-1a.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1a.html
rename : layout/reftests/flexbox/pagination/flexbox-empty-1a.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1b.html
rename : layout/reftests/flexbox/pagination/flexbox-empty-1a.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1c.html
rename : layout/reftests/flexbox/pagination/flexbox-empty-1a.html => layout/reftests/flexbox/pagination/flexbox-unbreakable-child-1d.html
2013-11-21 10:20:02 -08:00
Daniel Holbert 4a5da30674 Bug 811024 part 5: reftests for fragmenting empty flex containers, with various margin/border/padding. r=mats 2013-11-21 10:20:02 -08:00