Commit Graph

3464 Commits

Author SHA1 Message Date
Ryan VanderMeulen
6d6c4efbab Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
L. David Baron
4ba2c7fd3e Fix source of slight test variation. (Bug 759755, patch 1) 2012-06-10 13:02:23 -07:00
Ryan VanderMeulen
a8d7ca3d0f Backout Bug 749044 due to Android reftest failures 2012-06-09 16:03:31 -04:00
Andrii Zui
0e67407dbb Bug 749044 - Dynamic reftests for selection attribute and maction rendering. r=karlt 2012-06-09 14:22:41 -04:00
Nicholas Cameron
c6ba2b5641 Bug 758561 - Test for mask layer for empty iframe. r=roc 2012-06-09 14:22:41 -04:00
Ehsan Akhgari
c608e1fa46 Bug 762546 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-07 13:18:07 -04:00
Robert O'Callahan
276c0dd363 Bug 753329. Share ThebesLayerInvalidRegion for a given ContainerLayer across all the frames that are sharing that layer as their ContainerLayer. r=mattwoodrow
* * *
Bug 753329. Followup: put ThebesLayerInvalidRegionProperty in display-list-builder coordinates so it can be shared by frames with different coordinate systems. r=mattwoodrow
2012-06-07 22:07:32 +12:00
L. David Baron
3479e2b4fd Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Phil Ringnalda
bda062fbe0 Back out 30e441f7ad9d (bug 759755) and 08286f4e696b (bug 760098) for orange 2012-06-06 22:51:58 -07:00
L. David Baron
cf8ef9a7ac Make scroll frames (i.e., overflow != visible) be font size inflation flow roots again, to fix www.youtube.com. Except for the test changes, this reverts 9620f50be9fa8be44931decf1e57ce25f51da812 (Bug 747720, patch 7) which in turn reverted part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1 (Bug 706193, patch 2). (Bug 760098) r=roc 2012-06-06 22:11:42 -07:00
Ehsan Akhgari
23ec26e0a9 Bug 762180 - Disable tests added by bug 157681 on native Android for now, until our infrastructure can handle running them; r=jmaher 2012-06-06 15:15:52 -04:00
Ehsan Akhgari
eb40e2c214 Bug 761980 - Make sure to register the callback after the document has loaded; r=dbaron 2012-06-06 09:28:00 -04:00
Ehsan Akhgari
1261bc9326 Merge mozilla-central into mozilla-inbound 2012-06-06 12:46:50 -04:00
Mounir Lamouri
d6ed23984b Bug 686886 - Port bug 680747 and bug 680518 to nsMeterFrame. r=roc 2012-06-05 22:15:46 +02:00
Ehsan Akhgari
bdd1cdb13d Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
This patch adds a change hint to signal that one of the offsets on a
frame has been changed.  When processing the hint, we do one of the
following things based on the position property of the frame.

* For static frames, we ignore the offset changes completely, as they
  will not change the layout.
* For relative positioned frames, this patch refactors the
  nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
  used from other callers, and it uses that to compute the new relative
  offsets, and uses the offsets computed previously to compute the new
  position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
  object, and then we create a new reflow state object for the frame in
  question.  This setup is similar to what nsFrame::BoxReflow does.
  Once we have the new reflow state object, we use it to compute the
  absolute offsets, and then we use the computed offsets to set the new
  position of the frame.  The offset computation is similar to what
  nsAbsoluteContainingBlock::ReflowAbsoluteFrame does.  In some cases
  where it is possible for the dimensions of the frame to change based
  on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ehsan Akhgari
e8b6991cce Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00
L. David Baron
4ae65b30d1 Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
L. David Baron
81169b19ae Back out changeset 81f6b1cfbba5627425837ff993ca7012db22b23b (bug 748434) due to reftest failures. 2012-06-05 16:55:48 -07:00
L. David Baron
2a07b15c44 Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 15:52:28 -07:00
Laurent Dulary
6d2bb3dfaa Bug 662251 (2/2) - Tests. r=mounir 2012-06-05 22:17:08 +02:00
Laurent Dulary
5f76a7e1fe Bug 662251 - Default style and colors for the meter element. f=mounir r=bz,davidb 2012-05-16 12:26:42 +02:00
Boris Zbarsky
6960e3b319 Disable the test on Windows, since it just can't pass there. Followup for bug 731447. 2012-06-01 15:24:44 -04:00
Boris Zbarsky
67e8556642 Attempt to fix reftest failure on android XUL, where buttons seem to use a non-block color for some reason. Followup for bug 731447 2012-06-01 13:32:09 -04:00
Boris Zbarsky
11bf7acee3 Bug 748692. Don't reparse inline stylesheets on random attribute changes. r=sicking 2012-06-01 00:30:42 -04:00
Boris Zbarsky
94b5beb86f Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron 2012-06-01 11:45:37 -04:00
Joel Maher
bb1449586f Bug 748088 - Native android reftest are not testing OMTC+OGL. r=ajuma 2012-06-01 08:42:38 -04:00
Jonathan Kew
79de5e0b64 bug 758236 - reftests for basic Indic shaping features in harfbuzz. r=jdaggett 2012-06-01 08:19:28 +01:00
L. David Baron
4c91539c7a Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky 2012-05-30 22:19:49 -07:00
Cameron McCormack
d290d07e4b Bug 759640 - Fix typo in feBlend reftest. r=longsonr 2012-05-31 10:32:39 +10:00
Cameron McCormack
202b77adf2 Bug 759681 - Fix some typos in <clipPath> reftests. r=longsonr 2012-05-31 10:32:33 +10:00
Phil Ringnalda
dbf40c6c8c Bug 668849 - give up on testing spellcheck with text-overflow on WinXP 2012-05-28 19:37:14 -07:00
Jeff Muizelaar
933afd58bf Bug 749976. Reduce the curve tolerance to be closer to skia on mobile. r=bgirard
Skia uses a value of 0.5, however using such a high value causes some reftest failures.
Switch to 0.3 because we can do that without changing the reftests too much. We
can still use a higher value if we need to later. This should give us sqrt(3)
reduction in the number of segments.

--HG--
extra : rebase_source : 39f1892a61f7e242460deb1bc21adb30778147e3
2012-05-25 00:49:54 -04:00
Vincent LAMOTTE
890c0d38ff Bug 657953 (2/2) - Tests. r=roc 2011-06-08 12:32:13 +02:00
Frank Yan
1daf2ed8bf Bug 673873 - Display placeholder when focusing empty input - part 3: remove duplicate tests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
2502abc27b Bug 673873 - Display placeholder when focusing empty input - part 2: update reftests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
5d479db4f5 Bug 702184 - sporadic REFTEST TEST-UNEXPECTED-FAIL | reftest/tests/layout/reftests/bugs/598726-1.html | image comparison (==). r=ehsan 2012-05-24 12:04:16 -07:00
Ed Morley
02a195b1f4 Backout 0d782874abea, 75571af38ce5 & bfd3a65c0feb (bug 673873) for increasing the failure rate of bug 702184 2012-05-24 14:12:19 +01:00
Frank Yan
3cd78fbfaf Bug 673873 - Display placeholder when focusing empty input - part 3: remove duplicate tests. r=mounir 2012-05-24 03:54:26 -07:00
Frank Yan
e6ca5c7bf0 Bug 673873 - Display placeholder when focusing empty input - part 2: update reftests. r=mounir 2012-05-24 03:54:26 -07:00
Robert Longson
7aa8c491d6 Bug 746452 - textPath does not handle startOffset with non-user-unit/non-percentage units correctly. r=jwatt 2012-05-24 11:43:10 +01:00
Jonathan Kew
1e3898e57c Bug 755730 - don't mask out Indic codepoints in OpenType fonts supported by OS X 10.7. r=jdaggett 2012-05-23 14:15:43 +01:00
Bas Schouten
9e53d62ba5 Bug 690743 - Reftest: Add a reftest for repeated drawing after changing transform while emitting a path. r=roc 2012-05-23 08:18:24 +02:00
Ed Morley
83427f0fe0 Merge mozilla-central to mozilla-inbound 2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Birtles
42290976d3 Bug 755603 - Remove broken frozen to-animation behavior; r=dholbert 2012-05-21 08:48:38 +09:00
L. David Baron
8a2f6350ad Make scroll frames (i.e., overflow != visible) no longer be font size inflation flow roots. This reverts part of 9499f6b28addcbcd9c480eb80cfe6c4c63a4a3a1. (Bug 747720, patch 7) r=roc
This means that font size inflation will be consistent into a container
with overflow!=visible, which fixes inflation bugs on phoronix.com (bug
747720) and reddit.com (bug 748446, but currently covered up by bug
756518).
2012-05-20 22:18:28 -07:00
L. David Baron
148af868e8 Use the same width basis for font inflation throughout a font inflation flow root. (Bug 747720, patch 3) r=roc
Font inflation flow roots are similar to block formatting contexts,
though I'm trying to make not all block formatting contexts be flow
roots in later patches on this bug, bug 707195, and related bugs.

This will lead to more consistent font size inflation in a flow of text
where the blocks vary in width (e.g., because some of the blocks have
horizontal margins) but we determine the text to comprise a single flow.
2012-05-20 22:18:27 -07:00
Robert Longson
477bb350a8 Bug 756405 - non-scaling-stroke-02.svg fails on Android. r=jwatt 2012-05-20 10:18:33 +01:00
Phil Ringnalda
eda0e7a7e4 Bug 668849 - Double the workaround timeout to wait longer for spellcheck to finish 2012-05-18 22:27:38 -07:00
Andrii Zui
6942d9bf19 Bug 745535 - Dynamic reftests for bug 745535. r=karlt 2012-05-18 13:35:43 -04:00