Nicholas Nethercote
f437a6c4f5
Bug 1449414 - Reorder nsCSSAnonBoxList.h. r=xidorn
...
Putting all the non-inheriting entries first means we don't have to play games
at the inclusion sites. This is a small win now, but will help a lot with bug
1449395.
MozReview-Commit-ID: JNt7yFKs6br
--HG--
extra : rebase_source : 84ee0e78fc2c94f5bd73dbc35a8f27269a455ee3
2018-03-27 10:40:32 +11:00
Tim Nguyen
6071f20f6c
Bug 1430374 - Remove support for progressmeter tree cells. r=bz,dao
...
MozReview-Commit-ID: 3hydkeoneC0
--HG--
extra : rebase_source : eca404511d1fc2d9d7e9711fbd1accefd3781b16
2018-01-18 10:36:05 +00:00
Daniel Holbert
680815cd6e
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
--HG--
extra : rebase_source : 3356d4b80ff6213935192e87cdbc9103fec6084c
2017-10-27 10:33:53 -07:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Boris Zbarsky
71d6942bcb
Bug 1395650. Make anonymous column groups into non-inheriting anon boxes, to better match the behavior of other browsers. r=heycam
2017-09-01 00:53:33 -04:00
Boris Zbarsky
9599945ea5
Bug 1394662. Make ::-moz-table-column a non-inheriting anonymous box. r=heycam
...
In our UA sheet the only style we apply to ::-moz-table-column is "display: table-column".
Per spec, the only styles that apply to table columns are border props,
background props, 'width', and 'visibility'.
The only one of those that inherits is 'visibility'. And the only relevant
value per spec is "collapse". But an anonymous column can only be "visibility:
collapse" in Gecko right now if its colgroup is, and then the colgroup will get
collapsed away as a whole. So it doesn't matter whether the column inherits the
visibility style.
In practice, we do something special for "hidden" on a table-column as well,
during display list building, which affects hit-testing. Per
https://github.com/w3c/csswg-drafts/issues/1763 it's not clear that we should be
doing this at all, but for now we just keep our existing behavior and ensure
that the parent colgroup's visibility style is taken into account for anonymous
columns when building display lists.
2017-08-29 22:04:05 -04:00
Boris Zbarsky
b1ca90d55d
Bug 1388625 part 4. Add a concept of wrapper anon boxes to nsCSSAnonBoxes. r=heycam
...
MozReview-Commit-ID: 39i5eHlrrON
--HG--
extra : rebase_source : 7529aa53036b9c338c121f10572768ccfabc812a
2017-08-11 00:07:12 -04:00
Xidorn Quan
a0d0686267
Bug 1378287 - Skip parent-display-based display type fixup for all anonymous boxes. r=bz
...
MozReview-Commit-ID: C4R3sVl83jJ
--HG--
extra : rebase_source : 60eda1019d5aeab0d4faa51a098c2e684fdcbb79
2017-07-05 16:21:10 +10:00
Xidorn Quan
2325d06b36
Bug 1348488 part 1 - Capitalize name of tree pseudo-elements to match other anonboxes. r=heycam
...
MozReview-Commit-ID: 5TRHwTwkY0O
--HG--
extra : rebase_source : 714b7ecb7c817a14e1f3649d74b5f339dd5e570d
2017-07-10 10:26:25 +10:00
Cameron McCormack
f22c4ebfdc
Bug 1358968 - Part 1: Store in nsCSSAnonBoxList.h whether an anon box skips parent display-based style fixups. r=bz
...
MozReview-Commit-ID: 3DlGa5sH4eX
--HG--
extra : rebase_source : b46a018ccc7aa0e9c7580c96cecc68959c246b7c
2017-04-24 16:17:28 +08:00
Boris Zbarsky
06a153ffc1
Bug 1351139. Use only one kind of anonymous box for the block wrappers we create for a block-inside-inline split. r=dbaron
...
Note that this removes the useless (because this anon box is never absolutely
positioned) "clip: inherit" style.
MozReview-Commit-ID: iJJdv5VL06
--HG--
extra : rebase_source : d7a8697a89391eb6a80683dcbe8e3fa6f76c6a41
2017-03-28 21:26:31 -04:00
Boris Zbarsky
d49828b9ef
Bug 1347411 part 4. Change the various anonymous boxes associated with framesets to be non-inheriting, since their styles aren't really used for anything. r=heycam
...
MozReview-Commit-ID: 1R3cLokbPwL
2017-03-15 14:00:43 -04:00
Boris Zbarsky
2c7f4763df
Bug 1345362 part 6. Make ::-moz-pagebreak a non-inheriting anon box. r=heycam
...
MozReview-Commit-ID: ClqKv8HOFj4
--HG--
extra : rebase_source : 33785fdf7c14cf401d7c5a519ed2927db13c3077
2017-03-08 23:50:59 -05:00
Boris Zbarsky
f12067d36e
Bug 1343078 part 7. Make placeholders a non-inheriting anon box. r=dbaron
...
MozReview-Commit-ID: 3kQQroDRlr8
--HG--
extra : rebase_source : 6b1c8e0c1f287532badedb50439e415f97a4cf81
2017-03-08 00:18:40 -05:00
Boris Zbarsky
be2dd33efe
Bug 1343078 part 3. Introduce the concept of non-inheriting anon boxes without adding any yet. r=dbaron
...
MozReview-Commit-ID: 1NZ2xI4XCWH
--HG--
extra : rebase_source : 5a24fa9954be80cbac06d9a1873ce5ec8c91ea95
2017-03-08 00:18:39 -05:00
Boris Zbarsky
ca2ae1cf7a
Bug 1343078 part 1. Give placeholders and first-letter continuations different kinds of anonymous boxes. r=dbaron
...
MozReview-Commit-ID: B5IHgVUo1Rp
--HG--
extra : rebase_source : d7eab69a0dbcf0a460a249d843c5510a470b5a04
2017-03-08 00:18:32 -05:00
Boris Zbarsky
96d846236b
Bug 1340741. Nix the unused ::-moz-buttonlabel anonymous box. r=manishearth
...
MozReview-Commit-ID: IzXG8cCJoX0
--HG--
extra : rebase_source : 4728723b29698fee5cdfaff41033ab3e430a86ee
2017-02-17 19:04:36 -05:00
Astley Chen
188c2c3e1a
Bug 1277131 : Part 4 - rename -moz-table-outer to -moz-table-wrapper. r=heycam
...
MozReview-Commit-ID: CsalRdLLcbJ
--HG--
extra : rebase_source : 64c55289f599932b81058935b7896dbcb33ba557
2016-06-16 13:35:54 +01:00
Astley Chen
5bcbb06586
Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
...
MozReview-Commit-ID: 7GIjtUH9hdZ
--HG--
extra : rebase_source : 818cead88e560effa402e183b4a642fd1a7b9191
2016-06-16 13:35:43 +01:00
Xidorn Quan
d5599a3104
Bug 1097499 part 3 - Add a separate anonbox for text nodes. r=heycam
...
MozReview-Commit-ID: 1GfoFEGhyka
--HG--
extra : source : 38b806fd0fa54934439db0de75600def43142272
2016-04-22 09:18:41 +10:00
Susanna Bowen
bf06af5d74
Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz
2014-07-22 19:08:08 -07:00
Mats Palmgren
b998e12bb7
Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert
2014-05-03 13:42:33 +00:00
Cameron McCormack
633b59f1ac
Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr
2013-09-16 15:06:29 +10:00
Cameron McCormack
ffe1f6393f
Bug 655877 - Part 3: Add a frame state bit and anonymous box pseudo for SVG text frames. r=roc
2012-08-02 21:38:46 +10:00
Jonathan Watt
f234ac813a
Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc.
2012-07-09 02:04:56 +01: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
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
David Bolter
ab09888daa
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley
8de602546b
Backout 547de632a3e2 (bug 495912) for mochitest-a11y orange
2012-02-29 18:42:58 +00:00
David Bolter
6392ae8ed0
Bug 495912 - Expose content in HTML canvas elements. r=bz,roc r=surkov(tests)
...
layout-mentor: bz (mucho thanks!)
We make html canvas frame a container and render frames for its content which makes a lot of what we need for accessibility "just work".
2012-02-17 23:26:37 -05:00
Ed Morley
f13392fb42
Bug 614515 - Remove MOZ_SVG conditions. r=roc
2011-05-30 09:34:50 +02:00
Boris Zbarsky
03a58e11a7
Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
c1d4ecaf51
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-11 02:37:40 -05:00
Boris Zbarsky
8202b90f61
Backing out bug 525608 and bug 525952
2009-12-10 18:28:08 -08:00
Boris Zbarsky
197fdecd49
Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron
2009-12-10 14:36:05 -08:00
Boris Zbarsky
8616f91258
Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron
2009-12-10 14:36:04 -08:00
Zack Weinberg
c6a14e6a14
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-03 10:45:17 +02:00
Dão Gottwald
3f7e05fa09
Backed out changeset cc4fae01938c
2009-04-02 12:03:52 +02:00
Zack Weinberg
0647a435a8
Bug 475535 - don't go through PaintBackgroundWithSC to draw non-native radio buttons and checkboxes; remove special UA pseudo-elements for styling these. r+sr=roc
2009-04-02 09:57:13 +02: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
bzbarsky@mit.edu
9375a2fa83
Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron
2007-04-20 14:27:02 -07:00
bzbarsky@mit.edu
b82e527dc9
Change the way we determine the style context parent frame to skip css anonboxes unless we're determining the style context parent for something that isitself a css anon box (and is not a non-element frame). Fixes bug 323656(which is where the patch is), bug 85872, bug 280610. As far as I can tell,also fixes bug 317876, bug 372376, bug 374297. r+sr=dbaron
2007-04-15 16:14:26 -07:00
dbaron%dbaron.org
5cb78b8e99
Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
2007-01-27 18:36:57 +00:00
roc+%cs.cmu.edu
fe1409e73e
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
dbaron%dbaron.org
30f8db359a
File comments that show up in LXR and provide a quick summary of what's in each file.
2006-03-25 05:47:31 +00:00
bzbarsky%mit.edu
27c439cb3c
Remove the dummy frame stuff from selects. Replace it with smarter focus rect
...
painting and sizing for empty selects. Bug 314879, r+sr=dbaron
2005-11-04 23:36:27 +00:00
roc+%cs.cmu.edu
301b411013
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
roc+%cs.cmu.edu
c237520c89
Bug 251162. Landing experimental implementation of CSS3 columns. r+sr=dbaron
2004-10-08 12:17:10 +00:00
bzbarsky%mit.edu
6440f76be7
Instead of setting inline style for every text input's anonymous div, have a
...
rule in forms.css to set the style. Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
varga%nixcorp.com
2cd056deb1
Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
2004-04-17 05:53:38 +00:00