Commit Graph

2808 Commits

Author SHA1 Message Date
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
Bernd
5edcc44099 Bug 642088 - Subtract the caption height and vertical margins from the available height before reflowing the inner table frame. r=bzbarsky 2011-07-26 19:22:46 +02:00
Boris Zbarsky
f1ba3321cc Bug 652301. Show focus outlines on all but a blacklist of focusable things in HTML, not just on a whitelist of them. r=dbaron 2011-04-27 16:52:23 -04:00
Jonathan Kew
f63f16381d bug 672320 pt 14.2 - reftest for Finnish patterns. r=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
5ca04dccc9 bug 672320 pt 13.2 - reftest for Lithuanian patterns. r=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
534a0810f1 bug 672320 pt 12.2 - reftests for Norwegian patterns. r=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew
2183b3f534 bug 672320 pt 11.2 - reftest for Russian patterns. r=smontagu 2011-07-26 11:54:32 +01:00
Jonathan Kew
3d765c4a87 bug 672320 pt 9.2 - reftest for French patterns. r=smontagu 2011-07-26 11:54:32 +01:00
Matt Woodrow
ce92b3c781 Bug 673572 - Temporarily disable failing test for bug 568683 on mac. r=roc 2011-07-23 10:29:04 +12:00
Jeff Muizelaar
cecb38843c Bug 672646. Mark the radial gradient test as failing on OS X.
This is filed as bug 673333.
2011-07-21 23:15:24 -04:00
Jeff Muizelaar
49346550bd Bug 672646. D2D: Fix trasparent radial gradients. r=roc
The output merger stage was expecting premultiplied alpha
and we were giving non-premultiplied. Fix by premultiplying
in the shader.

Also adds a reftest for this situation.
2011-07-21 18:40:41 -04:00
Jonathan Kew
37d2e50300 bug 672320 - part 8.2 - reftest for Serbo-Croatian hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
900941b4a2 bug 672320 - part 7.2 - reftest for Mongolian hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew
4cb2ecfab6 bug 672320 - part 6.2 - reftests for German hyphenation. r=smontagu 2011-07-21 20:58:56 +01:00
Ehsan Akhgari
aa9c0820e7 Bug 672709 - Update the intrinsic state for elements in designMode documents correctly; r=bzbarsky
This patch fixes two things:
 * The intrinsic state on elements inserted in a contenteditable section when the
   document is in designMode (the nsGenericElement::UpdateEditableState change).
 * The intrinsic state on elements existing in the document when the document first
   enters designMode (the nsHTMLDocument::EditingStateChanged change).

The reftest included tests both cases.
2011-07-20 15:58:25 -04:00
Jonathan Kew
b64ffe9c8b bug 672320 pt 5 - more hyphenation locale reftests. r=smontagu 2011-07-20 11:15:48 +01:00
Jonathan Kew
0f2ab0d050 bug 672320 pt 3 - reftest for Swedish hyphenation patterns. r=smontagu 2011-07-20 11:15:30 +01:00
Makoto Kato
f30bd7bc35 Bug 633047 - fix condition for Win64 reftest. r=ehsan 2011-07-19 13:39:11 +09:00
Jonathan Kew
4b73a8e5a8 bug 670900 - reftest for handling 404 (not found) error on @font-face request. r=roc 2011-07-18 14:20:05 +01:00
Robert O'Callahan
d905df35e2 Bug 629196. Fix intermittent failures by censoring irrelevant pixels in test for bug 579323. 2011-07-18 12:46:26 +12:00
Ehsan Akhgari
096131f2a7 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Dão Gottwald
b897f1c9e2 Backed out changeset 1aad22c44bd0 2011-07-13 17:08:45 +02:00
Frédéric Wang
8e84ff6a75 Bug 669932 - Add a reftest to verify the equivalence between munderover with empty scripts and the corresponding mover/munder/mrow constructs. r=karlt
--HG--
extra : rebase_source : 61eee9f0129a1716c970177d8306aab2c7e48aa2
2011-07-13 16:01:03 +02:00
Jonathan Kew
c1ae1f995d bug 668758 - reftest for user font families clashing with prefs. r=jdaggett 2011-07-13 09:41:29 +01:00