Commit Graph

10 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
5c40ac23c9 Bug 1496014 - Fix shape-outside invalidation. r=dbaron
It's not really invalidated anywhere, and the float manager code only checks for
float region changes. Extend it so that it knows about shapes as well, and avoid
reframing due to a bogus nsChangeHint_ScrollbarChange which really meant to be
UpdateOverflow, which really is useless in this situation..

Differential Revision: https://phabricator.services.mozilla.com/D7583
2018-10-10 01:33:17 +02:00
L. David Baron
1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

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

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00
Matt Woodrow
aaaba0f931 Bug 1474466 - Convert rounded rect clips into paint geometry if the display item type support it. r=bas,jnicol
MozReview-Commit-ID: EkqgSSLufnp

--HG--
extra : rebase_source : 3c308cd46934107f734b311ea2e2b26251c15bf5
2018-07-15 20:26:46 +12:00
Brad Werth
804da7c86f Bug 1461046 Part 5: Add reftests that verify empty shapes still contribute their edges to float areas. r=dholbert
MozReview-Commit-ID: 9YiQoNZSG5i

--HG--
extra : rebase_source : 4eda372691788ea191adb7df84ef3ed0b20eb6bc
2018-05-23 12:46:54 -07:00
Gurzau Raul
b36972ff91 Backed out 7 changesets (bug 1461046) for permafailing reftest on /reftests/css-invalid/select/select-disabled-fieldset-1.html a=backout
Backed out changeset f5990eb1eb0d (bug 1461046)
Backed out changeset 8e0c340b9700 (bug 1461046)
Backed out changeset fbfe1d5b94e1 (bug 1461046)
Backed out changeset 48057a6ba3d6 (bug 1461046)
Backed out changeset 5c8648bcf6bb (bug 1461046)
Backed out changeset 157bbc74460a (bug 1461046)
Backed out changeset e990d4d07b0e (bug 1461046)
2018-06-02 05:07:03 +03:00
Brad Werth
5dcd9e4641 Bug 1461046 Part 5: Add reftests that verify empty shapes still contribute their edges to float areas. r=dholbert
MozReview-Commit-ID: 9YiQoNZSG5i

--HG--
extra : rebase_source : 806ca3938a92f764b103ad2499f2a463a94ef860
2018-05-23 12:46:54 -07:00
Joel Maher
aff4e21b6e Bug 1438874 - dynamic-shape-outside-1.html reftest fails to pass on new windows 10 hardware. r=gbrown 2018-02-23 11:20:25 -05:00
Brad Werth
271b9b7643 Bug 1359834 Part 4: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 4a3f9ee513e29b83fbbad3a1c2d1176910681379
2017-07-12 13:16:25 -07:00
Sebastian Hengst
a0cd2b025a Backed out changeset 074972bd94a6 (bug 1359834) 2017-07-14 10:26:09 +02:00
Brad Werth
631aca48fc Bug 1359834 Part 2: Add a reftest to ensure dynamic changes to shape-outside trigger reflow. r=dholbert
MozReview-Commit-ID: BDGRKlss8JE

--HG--
extra : rebase_source : 0e23658a245c65630abd8233eb5def8509a01dad
2017-07-12 13:16:25 -07:00