Commit Graph

78 Commits

Author SHA1 Message Date
Jeremy Chen
7f7e952b2b Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.

MozReview-Commit-ID: EHbc4RMeuu0
2016-07-06 13:06:14 +08:00
Carsten "Tomcat" Book
de5949e087 Backed out changeset 8c1f9996a7d6 (bug 906116) 2016-07-06 05:40:06 +02:00
Jeremy Chen
7d67fc920f Bug 906116 - part3.3: Replace NS_STYLE_HINT_FRAMECHANGE with nsChangeHint_ReconstructFrame. r=dbaron
Use ReconstructFrame to replace NS_STYLE_HINT_FRAMECHANGE in many places, such
as HTML*Element::GetAttributeChangeHint and HTMLFrameSetElement::SetAttr.

MozReview-Commit-ID: EHbc4RMeuu0
2016-07-06 09:59:56 +08:00
Astley Chen
f691419a15 Bug 1277131 : Part 3 - rename nsGkAtoms::tableOuterFrame and nsCSSAnonBoxes::tableOuter. r=heycam
MozReview-Commit-ID: 7GIjtUH9hdZ
2016-06-16 13:35:43 +01:00
Astley Chen
ca13d10ee9 Bug 1277131 : Part 1 - rename nsTableOuterFrame to nsTableWrapperFrame. r=heycam
MozReview-Commit-ID: KrSHLbmovTM
2016-06-16 13:14:08 +01:00
Nicholas Nethercote
7fabd8754f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().
2015-12-15 13:56:41 -08:00
Mats Palmgren
3f92be8fe8 Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc 2015-03-29 22:38:40 +00:00
Alex Henrie
96a2e3fb55 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
L. David Baron
ca6c366dc6 Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Jet Villegas
c29ba3ea36 Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert 2012-10-30 16:57:36 +01:00
Boris Zbarsky
225b93a3df Bug 801819. Remove nsIDOMCSS2Properties and the classinfo bits for CSS declarations. r=peterv,dbaron 2012-10-30 17:14:06 -04:00
Ehsan Akhgari
1de2c6830b Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mats Palmgren
8fe75b1c1b Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Ehsan Akhgari
a9088e07c1 Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Felix Fung
fa05b7e0f3 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Ehsan Akhgari
b8774f8312 Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet 2011-06-01 16:18:15 -04:00
Ehsan Akhgari
8c373030bb Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Craig Topper
f6d3681e36 Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
Jonathan Kew
ccbd2d2564 Bug 475968. Eliminate NS_FRAME_OUTSIDE_CHILDREN flag, store small overflow areas cheaply within the frame. r+sr=roc 2009-04-06 12:31:50 +12:00
7f1beaf030 get rid of nsStyleStruct base type. b=408933, r+sr=dbaron, a=beltzner 2008-01-10 12:56:49 -08:00
2a7c5ee211 Fix spelling mistakes to force the Windows unit test box to cycle. 2007-09-29 17:49:57 -07:00
timeless@mozdev.org
358db4f61b Bug 106386 Correct misspellings in source code
r=glennrp@gmail.com, bclary@bclary.com rs=brendan
2006-11-01 23:02:18 +00:00
timeless@mozdev.org
6623f2131b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-08-28 20:12:37 +00:00
cbiesinger@web.de
aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
timeless@mozdev.org
21af79fe88 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless@mozdev.org
2f77719a9a Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
timeless@mozdev.org
71ed8bc863 Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
dbaron@dbaron.org
1b08821105 Convert CR-LF and CR linebreaks to LF. 2005-01-28 20:01:46 +00:00
bryner@brianryner.com
6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bryner@brianryner.com
5ddc9f91a1 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
technutz@netscape.net
8bb1b463bf Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <bc@bclary.com>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
timeless@mozdev.org
fbe8458aa9 whitespace change. This should make lxr hits for spacemanager reasonable.
It also makes the html and diffs tolerable.
2003-11-11 19:23:37 +00:00
dbaron@dbaron.org
9446ce805f Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky 2003-10-13 21:51:02 +00:00
bmlk@gmx.de
563d484807 description of overflow debug facility 2003-04-06 13:01:20 +00:00
bmlk@gmx.de
2850ce8845 some more reflow options - for boris 2003-04-03 15:35:06 +00:00
timeless@mozdev.org
92a3737c5c Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dbaron@fas.harvard.edu
8a88f30fc6 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
bernd.mielke@snafu.de
64f2a26dbf fix spelling errors, bug 180287 patch by Martin Wulffeld 2002-11-16 10:46:53 +00:00
caillon@returnzero.com
35c83bf497 Update "how to add a style property" to reflect reality: fix the CSS_PROP macro description, add info on nsIDOMCSS2Properties.idl, linkify the bullets in "Implementation" to jump to
anchors within the page.
This is a doc only change and not part of any build.
2002-11-09 19:08:23 +00:00
roc+@cs.cmu.edu
8d1393e3de Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
bzbarsky@mit.edu
987d675021 Fixing link to raptor image. Doc change only, not part of build. 2002-08-08 06:12:35 +00:00
karnaze@netscape.com
ff39cbb1ba doc changes, not affecting the build. 2002-08-05 17:37:49 +00:00
karnaze@netscape.com
7ab036faf7 doc changes, not affecting the build. 2002-08-05 00:26:59 +00:00
karnaze@netscape.com
dcebc1ef9f doc changes, not affecting the build. 2002-08-04 06:05:25 +00:00
karnaze@netscape.com
00eaf60635 new doc file, not affecting the build. 2002-08-04 01:37:25 +00:00
dbaron@fas.harvard.edu
ebdf30d41f Oops. 2002-06-19 04:31:43 +00:00
dbaron@fas.harvard.edu
a05a4a4895 Correct documentation of initial/inherit values and of last boolean in CheckPropertyData. Note that document misses modifications to nsDOMCSSDeclaration and relevant interfaces. Massive formatting cleanup (especially <br> overuse), but not enough. 2002-06-19 04:29:07 +00:00
bernd.mielke@snafu.de
e13a1ab84e running the layout regression tests - a description not part of any build 2002-06-16 10:38:06 +00:00