Commit Graph

3424 Commits

Author SHA1 Message Date
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
Jonathan Kew
f33c539453 bug 752459 - reftest for word-wrap cluster support. r=smontagu 2012-05-18 16:51:40 +01:00
Jonathan Kew
6c884e8c99 bug 752455 - reftest for word-break, clusters, text-transform. r=smontagu 2012-05-18 16:51:39 +01:00
Robert Longson
b6772bc5ee Bug 528332 - make tests random on Android 2012-05-18 11:29:10 +01:00
Robert Longson
68d77a3a59 Bug 528332 - Implement non-scaling-stroke vector-effect. Part 2 - SVG changes r=dholbert 2012-05-18 09:34:25 +01:00
Simon Montagu
f749da5944 Tests for bug 755994, r=roc 2012-05-17 13:32:45 +03:00
Robert Longson
da7b0caeee Bug 512525 - Implement SVG Fragment Identifier parsing and animation hyperlinking - Part 2 main implementation. r=jwatt 2012-05-17 11:02:41 +01:00
Neil Deakin
db82369f71 Bug 750808, move children element in label control binding, so that it doesn't get deleted when setting accesskey, r=neil 2012-05-16 19:55:09 -04:00
Mats Palmgren
8333b1b6a7 Bug 755025 - wallpaper reftest framework bug that runs test / reference with different :hover state. r=roc 2012-05-17 01:04:38 +02:00
Mats Palmgren
c3fee3748b Bug 750293 - Don't include a block's margins in its scrollable overflow for now. r=roc 2012-05-17 01:04:38 +02:00
Jonathan Watt
dabe87c8ed Bug 755457 - Switch tests to using MozReftestInvalidate to avoid random failures. r=longsonr.
--HG--
extra : rebase_source : 1ea53f76a9e878fd56e0eb479fe6f93ca2419327
2012-05-16 11:07:43 +01:00
Jeff Muizelaar
79f4605242 Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.

--HG--
extra : rebase_source : 4473dd220020e65e4bc22b84fa780c7828b357a7
2012-05-15 18:26:16 -04:00
Ryan VanderMeulen
9f18aeac63 Backout df38ed62a24a (bug 754364) due to Windows red. a=CLOSED TREE 2012-05-15 20:29:13 -04:00
Jeff Muizelaar
09d3725c17 Bug 754364. Add bilinear non-repeat and repeat fast paths. r=joe
This gives significantly faster bilinear sampling when we
don't have NEON.
2012-05-15 18:26:16 -04:00
Robert O'Callahan
fede4b2197 Bug 754556. Ensure that setting scroll positions in CSS pixels doesn't unexpectedly move the scroll position, especially not in the wrong direction. r=matspal
If the current scroll position is fractional, e.g. y=N.4 CSS pixels, and something tries to read the
position in CSS pixels and scroll to that position (e.g. calling window.scrollTo(0, rootElem.scrollTop),
or equivalently window.scrollBy(0, 0)), it can actually end up scrolling backwards. So create a new
method nsIScrollableFrame::ScrollToCSSPixels which ensures that scrolling to a CSS pixel offset tries to
preserve the current fractional scroll position if that's possible, and if that's not possible at least does
not allow the scroll position to move in the wrong direction.
2012-05-15 17:58:09 +12:00
Jeff Muizelaar
0502288506 Bug 754872. Avoid using two passes to draw glyphs on mobile. r=joe
Chrome & Safari both use a single pass for overlapping glyphs. We shouldn't try
so hard when running on mobile.
2012-05-15 00:48:00 -04:00
Matt Brubeck
3b4a9cde72 Merge mozilla-central and mozilla-inbound 2012-05-14 21:41:08 -07:00
Joel Maher
1907a8d015 Bug 754001 - random-if r3 failures so we can unhide the tests. r=jrmuizel 2012-05-14 10:19:28 -04:00
Mats Palmgren
df74457a55 Bug 749935 - Make all nsRect Union methods saturating. If width/height overflows nscoord_MAX then clamp the x/y to nscoord_MIN / 2 and try again. r=roc 2012-05-14 22:11:39 +02:00
Mats Palmgren
10256431dc Bug 688897 - Add MozReftestInvalidate handler to fix orange. r=jmuizelaar 2012-05-14 22:11:39 +02:00
Christopher De Cairos
720758f4b7 Bug 517363: Make poster frames scale to size of the display frame r=roc 2012-05-11 20:32:29 +12:00
Christopher De Cairos
ed660ec50d Bug 726904: Make nsVideoFrame::GetVideoIntrinsicSize return the video size before the poster size. r=cpearce 2012-05-11 20:32:15 +12:00
Jeff Muizelaar
4a37a54063 Bug 689707. Use lower precision bilinear interpolation. r=joe
This takes the bilinear interpolation code from Skia. It
uses 4 bits of precision instead of 8. This lets it interpolate
two components at a time because the results fit in 16 bits.

The lower precision code is only used in the fallback code
and not in any of the specialized code for NEON. This means
pixman gives different results depending on the cpu which isn't
great. However, this was easiest and the NEON code doesn't
gain as much from using lower precision.

Skia actually uses even lower interpolation when working with
565 but that's harder to plug in right now, and this gives
a reasonable improvement.
2012-05-10 22:12:52 -04:00
Boris Zbarsky
a84e2f2d95 Bug 751012. When saving frame state, make sure to walk through placeholders so we save the state of out-of-flow descendants properly. Also make sure to walk the continuations and special siblings of the root frame that we're saving state for. r=roc 2012-05-09 21:27:47 -04:00
Ed Morley
36273e7024 Merge mozilla-central to mozilla-inbound 2012-05-09 10:16:14 +01:00
Aharon (Vladimir) Lanin
6ba2a816d5 Tests for bug 746987. r=smontagu, roc 2012-05-09 11:44:52 +03:00
Timothy Nikkel
930853f2df Bug 749425. Push the scroll frame clip inside the scroll layer so it gets transformed by the shadow transform. r=roc 2012-05-08 23:15:00 -04:00
Simon Montagu
c1cd31196f Fix test failures from bug 750551, r=dholbert 2012-05-08 22:36:53 +03:00
Ryan VanderMeulen
284cd18b99 Mark the reftest for bug 750551 as failing on Linux due to perma-orange. rs=Ms2ger 2012-05-07 17:21:01 -04:00
Jonathan Kew
8d81e045ca Split wordbreak-7 test into two testcases, one without lam-alef ligatures and one with (marked as failing due to bug 479829). Bug 249159, r=smontagu 2012-05-07 12:18:24 -07:00
Simon Montagu
b6f5264211 More tests for bug 249159, r=jfkthame 2012-05-07 12:18:24 -07:00
Makoto Kato
e70f17856c Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00
Simon Montagu
c0d80fe3e1 Tests for bug 750551. r=dholbert 2012-05-07 12:17:41 -07:00
Ehsan Akhgari
e00b9cd4fb Backout bug 750551 because of reftest oranges
--HG--
extra : rebase_source : 8947487094a48fb53c50a3c47bdc053db63a7759
2012-05-07 12:34:37 -04:00
Simon Montagu
ead1aa66d7 Tests for bug 750551. r=dholbert 2012-05-07 07:27:41 -07:00
L. David Baron
bebbcf9bbd Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
--HG--
extra : transplant_source : %82%DCX%81%B2%AAM%A3%A1%A1-%87%10%B3%B6%10kw%F4%FB
2012-05-05 15:24:45 +02:00
Scott Johnson
38884c343b Bug 746966: Conditionally set NS_FRAME_IN_CONSTRAINED_HEIGHT for font inflation on percentage-based height so fonts with room to inflate can do so. [r=dbaron] 2012-05-04 12:07:37 -05:00
Ed Morley
748e96fc18 Backout f8125b89352d (bug 747857) for frequent test failures 2012-05-04 15:24:42 +01:00
Jeff Muizelaar
15a0969a86 Bug 750598. Add some heuristics to catch cases when we can use nearest filtering. r=roc
These may need some tuning to get right, but should be an improvement over
just disabling bilinear for backgrounds.

It also expectedly regresses tcheckerboard & tcheck2 because we're now
using bilinear when we were using nearest before.
2012-05-01 16:35:04 -04:00
Jonathan Watt
ee7eeea5af Bug 407495 - Make SVG documents with percentage width/height respond to page zoom. r=roc.
--HG--
extra : rebase_source : c4c139693bb5d3b9086f7571dc3363c1c8b27ed5
2012-05-03 17:05:24 +01:00
L. David Baron
2d4692f3e0 Make effect of form controls on font size inflation text threshold not depend on user changes to their value. (Bug 747857) r=roc
--HG--
extra : transplant_source : %1F%7B%3Fk%A6%F1%2C%EAZ%920%FB%FD%FB%3D%8E%9C%C9y%19
2012-05-03 20:04:30 -04:00