Commit Graph

281 Commits

Author SHA1 Message Date
Masatoshi Kimura
baee7fa4d1 Bug 771975 - Remove -moz-prefixed gradients usage from rest of the tree. r=roc 2013-04-09 07:44:26 +09:00
Daniel Holbert
4fa96dd299 Bug 782441 part 2: Tweak ua.css to make flex container properties inherit to ::-moz-scrolled-content, so that flex containers with "overflow" set will honor those properties. r=bz 2013-03-22 08:13:49 -07:00
Boris Zbarsky
860a358bc3 Bug 827799. Apply clip to outer table frames as needed. r=roc 2013-01-15 14:04:24 -05:00
Brendan Dahl
6adcd0523c Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Ryan VanderMeulen
9cb0f91d55 Backed out changesets 0b6b3d2856a4 and 30776e402787 (bug 115199) for reftest failures. 2012-11-13 20:19:18 -05:00
Brendan Dahl
ec5ca0d279 Bug 115199 - CSS2 @page rule style support. r=dbaron 2012-08-31 14:21:28 -07:00
Mats Palmgren
25ea524bba Bug 685012 - Implement page-break-inside:avoid in the style system. r=dbaron 2012-11-08 17:09:37 +01:00
Daniel Holbert
f6b7d73947 Bug 801098: Unprefix flexbox properties & keywords (still preffed off by default). r=dbaron 2012-10-15 12:42:43 -07:00
Daniel Holbert
a0ca51613a Bug 799775 part 2: Add decl to inherit "-moz-order" on table outer frames in ua.css. r=dbaron
--HG--
rename : layout/style/test/file_flexbox_order.html => layout/style/test/file_flexbox_order_table.html
rename : layout/style/test/test_flexbox_order.html => layout/style/test/test_flexbox_order_table.html
2012-10-11 14:33:24 -07:00
Daniel Holbert
e71e5f4161 Bug 666041 patch 7: implementation of flex container class for CSS3 flexbox. r=dbaron 2012-09-29 23:38:46 -07:00
Chris Pearce
b902066d4c Bug 779286 - Allow document.documentElement to still be scrollable when made fullscreen. r=roc 2012-09-10 10:10:00 +12:00
Chris Pearce
d608c99760 Bug 788387 - Add -moz-box-sizing:border-box to :-moz-full-screen. r=roc 2012-09-05 15:54:11 +12:00
Daniel Holbert
0432772643 Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz 2012-06-26 15:11:38 -07:00
Scott Johnson
f9c641e24b Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron]. 2012-06-13 11:00:56 -05:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Pearce
e67b17755c Bug 745067 - Remove margins by default on fullscreen elements. r=bz 2012-04-26 14:35:23 +12:00
Chris Pearce
41760bc819 Bug 744860 - Set sensible :-moz-full-screen CSS width/height defaults, so elements with specified CSS dimensions end up fullscreen properly. r=roc a=blassey 2012-04-19 10:54:37 +12:00
Aryeh Gregor
ca639d81bb Bug 724750 - 3D transform backface-visibility has no effect when applied to an element with display:table. r=roc
--HG--
rename : layout/reftests/transform-3d/backface-visibility-1b.html => layout/reftests/transform-3d/backface-visibility-1c.html
extra : rebase_source : 8e878d9729f49b3adc0107b6760f618b8025f390
2012-02-16 14:30:34 +01:00
Aryeh Gregor
2c1f399923 Bug 722777 - Tables with 'transform' property set don't act as abs-pos/fixed-pos containers; r=roc
--HG--
rename : layout/reftests/transform/abspos-1a.html => layout/reftests/transform/abspos-1f.html
rename : layout/reftests/transform/abspos-1b.html => layout/reftests/transform/abspos-1g.html
2012-02-10 21:05:00 +00:00
Mats Palmgren
c496441d30 Bug 672944 - Setup overflow areas for the scrolled block frame in a XUL scroll frame for the benefit of text-overflow; Make the text-overflow code grok the extra wrapper frame in this case. r=roc 2012-01-28 04:35:59 +01:00
Scott Johnson
94736220a5 Bug 715203 - Fix ua.css to include moz-column-fill as inherited property for scrolled content. [r=bz] 2012-01-09 16:15:10 -06:00
Chris Pearce
d42af5d3c8 Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Chris Pearce
713e0c074c Bug 702295 - Don't apply overflow:hidden to full-screen-ancestor chrome roots. r=bz 2011-11-18 15:22:48 +13:00
Chris Pearce
8135f3f193 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Ehsan Akhgari
4b84fe41d5 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
Chris Pearce
9ffd0a4f24 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Vitor Menezes
e915e08a19 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
Mats Palmgren
8506a31912 Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Robert O'Callahan
1cf4650fb9 Bug 660682. Let anonymous blocks in IB splits inherit opacity from their first inline, so that 'opacity' applies to the contents of a split inline. r=bz 2011-06-17 15:36:07 +12:00
Michael Ventnor
d32c122811 Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc 2011-06-10 20:07:26 +10:00
L. David Baron
303db68634 unicode-bidi should inherit into ::-moz-cell-content, ::-moz-anonymous-block, ::-moz-anonymous-positioned-block, and ::-moz-fieldset-content. (Bug 604294) r=bzbarsky 2011-04-22 18:36:24 -07:00
Boris Zbarsky
e11dc52475 Bug 641856. column-rule needs to work even when overflow is not visible. r=roc 2011-03-17 13:41:52 -04:00
Neil Deakin
2672504f59 Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking 2011-01-17 09:35:32 -05:00
Gavin Sharp
c3c52e4815 Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout 2010-12-25 14:55:35 -05:00
Neil Deakin
8be581fb19 Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b 2010-12-21 13:19:00 -08:00
Neil Deakin
b627649b3d Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Taras Glek
1d126be6cd Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Taras Glek
387de8cf2e Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
d07c55d805 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Timothy Nikkel
fd0c927820 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Mats Palmgren
e603faf941 Remove redundant declaration. b=431705 r+sr=roc 2008-12-18 10:03:38 +01:00
Mats Palmgren
c30beea957 Inherit -moz-box-ordinal-group to special frames and use a stable sorting algorithm (mergesort). b=431705 r+sr=roc 2008-12-07 19:11:30 +01:00
Boris Zbarsky
b031d1bb8c Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
Daniel
78ba57d163 Bug 458588 - remove uses of -moz-outline* and drop the aliases afterwards; m-c part; r=(gavin.sharp + myk) sr=bzbarsky 2008-10-18 00:46:15 +02:00
Boris Zbarsky
c0a57d4047 Bug 456484. Kids of an inline-block that has overflow:'something other than visible' should not necessarily shrink-wrap. r+sr=roc 2008-10-07 14:53:22 -04:00
Robert O'Callahan
b52d3794d5 Bug 450340. Support SVG mask/clip-path/filter CSS properties applied to non-SVG content. r=longsonr,sr=mats 2008-09-11 12:24:16 +12:00
Zack Weinberg
c475a8c8bd Bug 389406 – initial value for 'quotes' property is stored incorrectly and not reachable by -moz-initial; r+sr=dbaron 2008-08-19 10:18:58 -04:00
L. David Baron
80ef4ff3cb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
dbaron@dbaron.org
ebc992bbc2 Make 'vertical-align' work on 'display: inline-table'. b=404030 r+sr=bzbarsky a=blocking1.9+ 2007-11-17 14:33:09 -08:00
dbaron@dbaron.org
8ab0d173c8 Make boxes that have non-box non-block children wrap all their children in a block. b=321402 r+sr=roc, a=blocking1.9+/M9 2007-10-25 16:30:49 -07:00