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

3 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron e5ab574deb Bug 1110277 patch 8 - Add test for passing lazy construction parameters through, using flexbox reframe case. r=bzbarsky
This tests a case that is fixed by patch 6.  In particular, I tested that:
 * with none of the patches in the bug applied, the two added tests
   fail, both reporting rgb(255, 255, 0)
 * with all patches 1-7 applied, the two added tests pass
 * with only patches 4-6 applied, the two added tests pass
 * with only patches 4-5 applied, the two added tests fail, both
   reporting rgb(255, 255, 0)

Note that this test is structured in a rather particular way (with two
separate restyles triggered by attributes on different elements, queued
in a particular order) to avoid triggering bug 1111451.  (Though I ended
up fixing that anyway in the revision of these patches, so it's probably
doesn't require as particular a structure anymore.  FIXME: In fact, I
should probably add some additional tests.)
2015-01-13 21:03:13 -08:00
L. David Baron 0795fbed25 Bug 625289 patch 13 - Test that ::first-line movement doesn't start transitions, i.e., test patch 10 in this series. r=heycam
With the full patch series, all 4 pairs of tests pass.  However, with
patch 10 removed from the patch series, all of the added tests fail
(probably through some interesting interactions).
2014-08-13 15:39:03 -07:00
L. David Baron fd2736dc52 Bug 625289 patch 12 - Tests for transitions on elements that are reframing. r=heycam
The second set of 14 tests all fail (both with and without the patch)
because we don't start transitions when the before state is
display:none (either for style contexts coming out of the undisplayed
map or because we have no current style context because an ancestor is
display:none).

The patch makes all of the first set of 14 tests pass.  Without the
patch, most of these tests fail, except for the 4 testing e1 and the
root.

I presume the four tests that pass prior to the patch pass because the
restyle actually occurs and starts the transition (which is stored on
the element) before the style context is destroyed.
2014-08-13 15:39:02 -07:00