Commit Graph

2932 Commits

Author SHA1 Message Date
Matt Woodrow
bc10d9cf93 Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc 2011-09-30 14:39:40 +13:00
Ehsan Akhgari
1602c3a12e Reftest for bug 63895; r=roc 2011-06-10 19:02:23 -04:00
Ehsan Akhgari
db5b1a6582 Bug 659828 - Part 3: Adjust the break-after-caption reftests to work correctly again now that the table top margin gets collapsed with its parent top margin; r=roc 2011-09-27 18:01:46 -04:00
Ehsan Akhgari
bdc5c5427c Bug 659828 - Part 1: Apply table margins to the outer table frame instead of the inner table frame (also fixes bug 87277); r=dbaron
Outer table frames act as CSS2.1 table wrapper boxes.  We used to lay them out
without taking their margins into the account, which meant that their width was
always equal to the available width.  This breaks horizontal positioning of
absolutely positioned kids of a table frame.

The main purpose of this patch is to apply the margins of tables to their outer
frame, instead of the inner frame.  This means that the inner table frame will
always have a zero margin, which means that a lot of the stuff which used to
rely on the fact that table margins are applied to the inner frame need to
change.

In particular, in order to get the computed margins of a table, we used to query
the inner table frame, and this patch corrects that.  Also, when shrink wrapping
tables, we used to not take the margins of the inner table frame into account,
which is fixed by this patch too.  nsBlockReflowState::
ComputeReplacedBlockOffsetsForFloats also needed to be changed to read the
margin values from the outer frame too.

Also, as part of this patch, we start to respect the CSS2.1 margin model for
captions on all sides.  This means that in particular, the top/bottom margins on
the top-outside and bottom-outside captions will not be collapsed with the
top/bottom margins of the table, and that the margins of the caption element
contribute to the width and height of the outer table frame.  The
427129-table-caption reftest has been modified to match this new behavior.

Another side effect of this bug is fixing bug 87277, and the reftests for that
bug are marked as passing in this patch.
2011-05-31 19:02:56 -04:00
Ehsan Akhgari
82c43f09d4 Bug 656130 - Part 1: Make sure that the absolute containing frame to be returned is actually marked as such in the frame tree; r=bzbarsky 2011-05-11 19:53:34 -04:00
Ehsan Akhgari
c15d8c0733 Bug 10209 - Part 6: Implement the CSS "containing block" concept correctly as a binary relation, as opposed to a unary relation; r=bzbarsky 2011-05-12 00:04:30 -04:00
Ehsan Akhgari
ef73506d4d Bug 10209 - Part 5: Allow table elements to act as absolute positioning containers; r=roc 2011-05-09 20:36:10 -04:00
Ehsan Akhgari
d883faee5e Bug 10209 - Part 4: Mark the reftest for bug 637597 as random, because the bug was never fixed originally; r=roc 2011-09-29 13:30:56 -04:00
Robert Longson
69bd857cce Bug 630657 - masks should respect color-interpolation. r=jwatt
--HG--
extra : rebase_source : d8ec90b0a18444be4890dbe127a1e0e7d70f9ede
2011-09-29 15:03:21 +01:00
Jonathan Kew
b85f9c8b4c bug 688779 followup - re-enable reftests for hyphenation (en-US only) on android.
--HG--
extra : rebase_source : 3430e302d5bd75155f7d0c3742ea6cbb785f26ef
2011-09-29 10:40:28 +01:00
Brian Birtles
616ecf38f9 Bug 602504 - Make event-being-timeevent-3.svg pass quickly and fail slowly; r=dholbert 2011-09-28 08:58:54 +09:00
Benoit Girard
95f511b8f5 Bug 676831 - Mark Android OpenGL Reftest failures for regression testing. r=joe
--HG--
extra : rebase_source : b5458fa13fc6277560eb0ebc3e4e31f6c04b4e6c
2011-09-19 13:05:15 -07:00
Jonathan Hage
f97cc9ad4e Bug 673759 - Reftests for positive namedspaces; r=karlt 2011-09-27 03:13:23 +01:00
Mats Palmgren
f44def4369 Bug 686581 - Disable theming in SVG images harder. r=longsonr 2011-09-26 18:29:06 +02:00
Brian Birtles
13cad9a6c1 Bug 602759 part 16 - Reftest for detecting presence of transform lists; r=jwatt 2011-09-25 22:04:47 +01:00
Brian Birtles
1011ee0fc5 Bug 602759 part 2 - Add tests for transform lists; r=jwatt 2011-09-25 22:03:26 +01:00
Mats Palmgren
69691a3674 Bug 686581 - Disable theming in SVG images. r=roc 2011-09-24 10:28:55 +02:00
Ehsan Akhgari
85e673bce7 Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions 2011-09-22 18:09:44 -04:00
Robert Longson
710b7f9128 Bug 687445 - Do not round mask size till after the CTM transform has been applied. r=roc 2011-09-21 12:30:38 +01:00
Ehsan Akhgari
ec2d83e852 Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host.  Things like text controls which used to have that flag
previously will not have it any more.  The flag would be set on their anonymous
div node instead.  Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.

This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Alon Zakai
add184ba85 Bug 633627 - Disable tests that fail with fixedpoint blurring. r=roc 2011-09-19 09:34:32 -07:00
Robert Longson
31d473fc4f Bug 687340 - Make dynamic changes to mask, clipPath and marker attributes work. r=roc 2011-09-19 13:59:52 +01:00
Ed Morley
14281d90d0 Merge last green changeset on mozilla-inbound to mozilla-central 2011-09-18 20:23:17 +01:00
Daniel Holbert
83154c3b65 Back out cset c3bf76213a6c (bug 665392) for breaking a testcase from the w3c svg testsuite, 'full-animate-elem-24-t.html'. 2011-09-17 09:18:13 -07:00
Robert O'Callahan ext:(.)
0d5d0f75cc Bug 647687 - Fix filter SourceImage bounds. r=longsonr 2011-09-17 09:29:51 +01:00
Daniel Holbert
838de0acbd Bug 665392: Make <animateMotion>'s transform apply on top of the "transform" attribute, instead of the other way around. r=roc 2011-09-15 15:42:55 -07:00
Mark Finkle
2270f57e03 Bug 686637 - Stop extracting hyphenation files from the APK [r=dougt] 2011-09-15 13:43:59 -04:00
Ehsan Akhgari
7b45893388 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Robert O'Callahan
0580c4d643 Bug 619992 - Fix location calculations for light sources. r=longsonr 2011-09-14 15:48:32 +01:00
Ehsan Akhgari
71ab4b195b Backout changeset 2705abe8d3f2 (bug 686247) again because of the accessibility test failures 2011-09-13 17:42:43 -04:00
Ehsan Akhgari
ba819d11ee Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 15:09:51 -04:00
Ehsan Akhgari
6b8124559c Backed out changeset c9013399fa39 (bug 686247) because of mochitest-a11y failures on Linux 2011-09-13 13:29:30 -04:00
Ehsan Akhgari
5964c37a93 Bug 686247 - Text control frames should accept dynamic changes to the CSS overflow property; r=bzbarsky,surkov 2011-09-13 11:45:54 -04:00
Phil Ringnalda
1996f4b290 Bug 661491 - mark dynamic--object-svg-unloaded.xhtml as random on Android since it accidentally passes sometimes, r=dholbert 2011-09-11 11:38:21 -07:00
L. David Baron
f5b54ee4df Add test for case that I'm worried about breaking in bug 665597. 2011-09-09 12:50:21 -07:00
Ehsan Akhgari
5d043817c9 Mark the test for bug 462758 as failing on Android 2011-09-07 15:46:22 -04:00
Fabien Cazenave
1867ac8ecd Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan 2011-09-07 13:34:58 -04:00
Ehsan Akhgari
dd1857e2c4 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-09-07 10:06:22 -04:00
John Daggett
91a4d979e7 Bug 3512. Reftests to test font-stretch with different sets of font families. r=jkew 2011-09-07 13:00:15 +09:00
Kyle Huey
425dd0672f Merge last green changeset on m-i to m-c. 2011-09-05 07:57:34 -04:00
Jonathan Kew
843af7d3a4 bug 3512 - reftest for support of font-stretch with DejaVuSans[Condensed] family. r=jdaggett 2011-09-05 08:35:12 +01:00
John Daggett
c00f0d312d Bug 3512. Add fonts for font-stretch reftests. (no effect on build) 2011-09-05 10:10:41 +09:00
Matt Woodrow
a5e0a1b39b Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
Jonathan Kew
fe11128007 bug 683618 - adjust glyph metrics appropriately when applying synthetic bolding on Android (gfxFT2Fonts). r=jdaggett 2011-09-02 21:18:10 +01:00
Ehsan Akhgari
78f4e1ccb9 Revert to 176fae7de173 which was fine.
Sorry for breaking the history, won't trust TBPL, ever again. :(
2011-09-02 09:15:54 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Brian Birtles
4471d78fff Bug 681645 - SMIL: accommodate floating-point errors in discrete animations; r=dholbert 2011-09-02 08:13:45 +09:00
Daniel Holbert
67b38c4820 Bug 683040 followup: Extra reftests for animateMotion & indefinite to-animation. r=birtles
--HG--
rename : layout/reftests/svg/smil/anim-indefinite-to-1.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-1.svg
rename : layout/reftests/svg/smil/anim-indefinite-to-2.svg => layout/reftests/svg/smil/motion/animateMotion-indefinite-to-2.svg
2011-09-06 16:50:57 -07:00
Daniel Holbert
8976b9c599 Bug 683040: Override new method IsToAnimation instead of old method TreatSingleValueAsStatic, to handle "to animation" for animateMotion. r=birtles 2011-09-06 16:50:49 -07:00
Robert Longson
ef3c437b57 Bug 684790 - Add crisp-edges to anim-css-strokewidth-1 tests to prevent intermittent Android failures. r=test-only 2011-09-06 19:06:47 +01:00
Matt Woodrow
d8e5527702 Bug 505115 - Part 13 - Add basic reftests for 3d transforms. r=roc 2011-08-31 14:03:43 +12:00
Phil Ringnalda
a947adb0a9 Bug 634759 followup followup, remove the bug numbers that explain removed annotations DONTBUILD 2011-08-29 19:32:13 -07:00
Benjamin Stover
5180a1c2e4 Bug 634759 Followup: Mark unexpected passes as expected r=me 2011-08-29 13:42:35 -07:00
Robert Longson
759a6077a9 Bug 682685 - Dynamic changes to use elements only work to/from invalid states. r=dholbert 2011-08-29 09:20:29 +01:00
Karl Tomlinson
9778281ea1 reftest for bug 678561
--HG--
extra : transplant_source : %C8%89vp%FA%40%8D/r%3F%91%D1%3Ax%01%C6%7DM%1Ep
2011-08-26 08:49:44 +12:00
Jonathan Kew
112cb23084 bug 672320 pt 17.2 - hyphenation test for Turkish. r=smontagu 2011-08-25 16:10:12 +01:00
Jonathan Kew
a9a56f301c bug 672320 pt 16.2 - hyphenation test for Italian. r=smontagu 2011-08-25 16:09:15 +01:00
Jonathan Kew
37926a000c bug 672320 pt 15.2 - hyphenation test for Hungarian. r=smontagu 2011-08-25 16:08:15 +01:00
Boris Zbarsky
eb5b744132 Bug 659350 part 4. Change some tests that depend on the old behavior where inline event handlers hang directly off the JSObject to not depend on it. r=smaug 2011-08-24 15:49:25 -04:00
L. David Baron
049969c5e2 Add missing </title> that was causing these tests to be commented out. (Bug 681403) 2011-08-23 15:42:11 -04:00
Mounir Lamouri
7867b8d495 Bug 680747 - Set a min and pref width to nsProgressFrame. r=dbaron 2011-08-23 00:30:33 +02:00
Mounir Lamouri
385690f551 Bug 680518 - Progress element should invalidate itself when the bar size changes. r=roc 2011-08-22 15:00:24 +02:00
L. David Baron
f9670976cb Make tests for bug 403524 use local images rather than http: ones. 2011-08-20 21:35:56 -04:00
Mats Palmgren
e932421b76 Bug 677582 - Tests for CSS3 text-overflow: <left> <right>. r=roc 2011-08-20 22:41:39 +02:00
Robert Longson
04b2e2e4e4 Bug 680035 - Filter elements do not react to color-interpolation-filters attribute changes. r=roc
--HG--
rename : layout/reftests/svg/dynamic-filter-contents-01.svg => layout/reftests/svg/dynamic-filter-contents-01a.svg
2011-08-20 14:02:41 +01:00
Bernd
fc4e7dd856 bug 211636 replace shared table attribute mapping by a more rule conforming mapping r=dbaron 2011-08-20 12:18:50 +02:00
L. David Baron
50d5aa5dfe Actually run the reftests in layout/xul/base/reftest/ . 2011-08-19 15:02:49 -07:00
Matt Brubeck
b9d2d21ec3 Bug 674212 - Skip reftest on Android because of timeouts (test-only) 2011-08-17 16:35:35 -07:00
Fabien Cazenave
17c25f96ca Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Mats Palmgren
857fdf3c17 Bug 191864 - Range and Selection broken with splitText() and normalize(). 2011-08-16 02:55:22 +02:00
Robert Longson
f7e6cfcfc3 Bug 678250 - Filter bounds rounded before scaling so small filters may be too large. r=roc 2011-08-15 19:41:57 +01:00
Phil Ringnalda
fa03efb938 Bug 590415 - Mark 368020-1.html as random on WinXP, since we've clearly made it so 2011-08-14 14:47:36 -07:00
Jonathan Hage
0292adecf2 Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt 2011-08-14 11:17:22 +02:00
Bernd
d39ebba03b bug 675490 - push nonplaced tfoots and mark them as nonrepeating r=bz 2011-08-13 18:37:43 +02:00
arno renevier
2485241198 Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Boris Zbarsky
9c3c3f2062 Bug 670467. Correctly reresolve style on non-first continuations and non-first parts of {ib} splits even when we're restyling both an ancestor of the element and the element itself. r=dbaron 2011-08-11 23:52:21 -04:00
L. David Baron
b646a65f01 Add reftest for bug 676538 (text-decoration offsets on block, child inline, and grandchild inline). 2011-08-10 12:44:17 -07:00
Jeff Walden
82a3baf8a6 Add CSS test suite metadata to the vector background-size tests. r=metadata and please DONTBUILD
--HG--
extra : rebase_source : 7cecdb07c565901cb3759f4b2ae09a139bdae262
2011-08-09 13:54:32 -07:00
Frédéric Wang
85e373a27c Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc 2011-08-07 01:29:00 -04:00
Jeff Walden
e1690fa43c Bug 609714 - Properly compute background image size for vector background images lacking intrinsic sizes or an intrinsic aspect ratio. r=dholbert, r=dbaron
--HG--
extra : rebase_source : 9b018973a13a50f7616cac2a369bc3a61ccd5927
2011-01-13 04:40:12 -06:00
Markus Stange
dd80086631 Bug 676387 - XUL elements with -moz-appearance should ignore clicks in their overflow. r=roc 2011-08-08 20:31:52 +02:00
Frédéric Wang
5aba953fa9 b=669932 Add a reftest to verify the equivalence between munderover with empty scripts and the corresponding mover/munder/mrow constructs. r=karlt
--HG--
extra : transplant_source : %98%AE%F4%DA%17%0DP%22%B6%B7%18%EA%82%18%18%B9%9D%12%AC%AD
2011-08-05 13:02:57 +12:00
Jeff Muizelaar
92bd6665b1 Bug 674003. Add reftest for transparent radial gradients. r=joe
This draws a unchanging part of the gradient on to another canvas.

--HG--
extra : rebase_source : 57de827713cac43cf117da1d4dc95a29d0007987
2011-08-05 17:10:09 -04:00
Ehsan Akhgari
71034c52a2 Bug 676643 - Adjust the reftest annotation for selection reftests after bug 674820; r=blassey 2011-08-04 15:53:34 -04:00
Ehsan Akhgari
473351faa5 Bug 674820 - input/textarea.selectionStart/selectionEnd/selectionDirection should not require the presence of a frame; r=bzbarsky
--HG--
rename : layout/reftests/editor/selection_visibility_after_reframe.html => layout/reftests/editor/selection_visibility_after_reframe-3.html
2011-07-29 17:31:57 -04:00
L. David Baron
7a118daf14 Followup to changeset c9dff8b867f0d74ef23396bcb896696cf9436b08 (bug 403524): test passes on Android now as well (bug 585684 / bug 586748). 2011-08-03 12:48:04 -07:00
Vitor Menezes
1eb945fbb6 Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes
fec17839e4 Bug 403524: Make textarea not inherit text decorations and correct the failing reftest (r=dbaron)
Originally, this reftest only failed on Windows (see bug 585684).
However, upon making standards mode compliant with CSS2.1, the bug
described in 585684 spread to all platforms, indicating it was actually
a layout bug and not d2d per se.  This patch makes the anonymous div
inside textareas and text inputs inline-blocks so that they ignore
decorations defined on ancestors.
2011-08-03 11:30:58 -07:00
Vitor Menezes
ffab172cd7 Bug 403524: Merging codepaths introduced some reftest failures; we need to fix them (r=dbaron)
It would appear that shadows were expected to render above underlines,
violating the CSS3 spec for text-shadow
(http://dev.w3.org/csswg/css3-text/#text-shadow).  The text-overflow
reftest relied on our previous standards-mode decoration implementation,
which drew strikethroughs after drawing the contents of the box,
regardless of whether there was any text; the reference thus no longer
needs to artificially introduce the decoration.
2011-08-03 11:30:58 -07:00
Vitor Menezes
cf291058cb Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron 2011-08-03 11:30:58 -07:00
Vitor Menezes
1be3da1279 Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.

This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes
776c5bc61f Only override font properties when in quirks mode. (Bug 403524) r=dbaron
Font tags cause NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL in quirks
mode only, so that standards mode (in which font tags don't cause the
override) can use the same codepath in the near future.
2011-08-03 11:30:58 -07:00
Vitor Menezes
e28c55c2e9 Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.

This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Matt Brubeck
96deef1828 Bug 669851 - Update reftest annotations for tests that no longer have Android-specific failures 2011-08-02 19:57:42 -07:00
Robert Longson
6e1cace098 Bug 672519 - dominant-baseline applied multiple times for tspan. r=dholbert 2011-07-31 19:36:40 +01:00
Paul ADENOT
31687f7735 Bug 577872 - Create WebM versions of Ogg reftests. r=kinetik 2011-07-30 09:18:56 +02:00
Marco Bonardo
57d585b73d Bug 674578 - Support resizer[dir="bottomstart"].
r=enn
2011-07-29 11:38:41 +02:00
L. David Baron
be7a42e48c Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
Chris Pearce
ac87b851b1 Bug 622059 - Remove randomly video poster-14.html reftest. There's no way to reliably test this! r=kinetik 2011-07-28 09:16:42 +12:00
Mats Palmgren
0cfc6eb31b Test text-overflow:ellipsis on table-cell. b=nobug r=test-only 2011-07-26 19:22:47 +02:00