Граф коммитов

269 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce b09d57d9fb Bug 745067 - Remove margins by default on fullscreen elements. r=bz 2012-04-26 14:35:23 +12:00
Chris Pearce 79273b6638 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 20fcd6ec53 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 ae42fdb086 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 72721c13d3 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 6692951f5b 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 527272b778 Bug 702146 - Move :-moz-full-screen-ancestor to an override style sheet. r=bz 2011-11-30 11:00:31 +13:00
Chris Pearce ff889f9be2 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 c205ec6d86 Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz 2011-11-01 18:11:09 +13:00
Ehsan Akhgari 8e0b5e9b27 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 10465a2495 Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz 2011-09-05 08:39:08 +12:00
Vitor Menezes 1aaf1f3eb4 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 9ce0da87b8 Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Robert O'Callahan a3a1c59882 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 121f0e1b6f 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 8c4366f62a 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 5c39968964 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 f7e53a18d1 Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking 2011-01-17 09:35:32 -05:00
Gavin Sharp 542ed50dd1 Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout 2010-12-25 14:55:35 -05:00
Neil Deakin c873f850eb Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b 2010-12-21 13:19:00 -08:00
Neil Deakin 9a20a613e9 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 a39d7b167b 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 223502e19f Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek 9ec79636b9 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Timothy Nikkel cf34b5b9a6 Bug 504269. background color of iframe not drawn on print. r+sr=roc 2009-07-29 18:10:50 -04:00
Mats Palmgren ba64c6fe10 Remove redundant declaration. b=431705 r+sr=roc 2008-12-18 10:03:38 +01:00
Mats Palmgren 2872a29086 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 9cd26aa818 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 fbc1eec534 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 e57224eff6 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 6674938af5 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 cb41cf79b6 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 3af4841258 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 127bcdd93c 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 f31056a796 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
roc+@cs.cmu.edu 0054412272 Bug 374866. Reftests for text-transform. r=dbaron 2007-03-22 16:01:14 -07:00
dbaron%dbaron.org 2b9f0ac94a Make 'vertical-align' work on 'display: inline-table'. b=404030 r+sr=bzbarsky a=blocking1.9+ 2007-11-17 22:33:33 +00:00
dbaron%dbaron.org dfc1afb90e 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 23:31:04 +00:00
masayuki%d-toybox.com fa8fb4715b Bug 335394 We should remove support for the 'invert' value ifdef MOZ_CAIRO_GFX r+sr=dbaron 2007-03-15 16:16:20 +00:00
dbaron%dbaron.org 765022065d Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky 2007-01-27 18:36:57 +00:00
dbaron%dbaron.org 116da6be23 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213. 2006-12-08 05:38:33 +00:00
martijn.martijn%gmail.com 361d7d4bde Bug 361808 - Print selection doesn't print selected text, backout from patch from bug 355395 2006-11-27 08:58:24 +00:00
martijn.martijn%gmail.com 91d99c43b1 Bug 355395 - Misspelled words in text areas cause all following text to disappear during print, r+sr=roc 2006-11-15 06:39:25 +00:00
roc+%cs.cmu.edu 8209f08678 Bug 331432. Move SVG-specific rule to svg.css, r+sr=bzbarsky 2006-06-12 04:27:10 +00:00
roc+%cs.cmu.edu f67cb596c4 Bug 331432. Split nsSVGForeignObjectFrame into a pure SVG frame containing an anonymous block child, to avoid state bit collisions and simplify things. Also fixes configure.in so that foreignObject is really enabled by default in cairo builds. r=tor,sr=bzbarsky 2006-06-06 23:13:15 +00:00
roc+%cs.cmu.edu 798f7ee11b Bug 317375. Removing REVIEW: comment that was causing a warning in ua.css. comments only, no code affected 2006-01-26 22:53:00 +00:00
roc+%cs.cmu.edu 5451e97878 Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others 2006-01-26 02:29:17 +00:00
roc+%cs.cmu.edu cd790656e9 Bug 290752. Don't create unnecessary level of style contexts for scrolled frames. r+sr=bzbarsky,a=asa 2005-04-28 22:14:16 +00:00
bzbarsky%mit.edu 22810e2f0c Removing -moz-page-break display value, since it's not needed. Bug 289975,
r+sr+a=dbaron
2005-04-22 15:31:44 +00:00
dbaron%dbaron.org ec53342255 Implement CSS2 counters. b=3247 r+sr=bzbarsky 2005-04-01 23:07:00 +00:00