343 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
4556299cf1 Backing out 420351
git-svn-id: svn://10.0.0.236/trunk@247541 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 10:44:32 +00:00
roc+%cs.cmu.edu
9279545699 Bug 420351. Empty bullets cannot make a line non-empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@247525 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-11 07:36:04 +00:00
roc+%cs.cmu.edu
23a169e1f0 Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@246025 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-20 02:07:50 +00:00
masayuki%d-toybox.com
d5d7f20c6e Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@245831 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 15:31:33 +00:00
roc+%cs.cmu.edu
d077ccaca3 Bug 400813, check in the right version of the patch
git-svn-id: svn://10.0.0.236/trunk@245687 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 10:03:01 +00:00
roc+%cs.cmu.edu
8c3ef7bff3 Bug 400813. Text with font-size:0 should not make a line be treated as empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@245685 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 09:08:34 +00:00
roc+%cs.cmu.edu
34c5fac9d2 backing out bug 400813 again due to reftest failure...
git-svn-id: svn://10.0.0.236/trunk@245444 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 02:48:17 +00:00
roc+%cs.cmu.edu
bd8265060a Bug 400813. Lines with font-size:0 content should not be treated as empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@245441 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-12 01:42:14 +00:00
dholbert%cs.stanford.edu
233fffbd92 Bug 412607: Fix wrapping issue by clearing trimmable width before trying CanPlaceFrame. r+sr=roc, a=blocking1.9
git-svn-id: svn://10.0.0.236/trunk@245181 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 23:00:38 +00:00
roc+%cs.cmu.edu
d0b0f232b1 Backing out 400813, sigh
git-svn-id: svn://10.0.0.236/trunk@244517 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 07:35:05 +00:00
roc+%cs.cmu.edu
2408e4c5e6 Bug 400813. Lines with actual content that just happens to be zero-width should be treated as non-empty. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@244510 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 07:12:27 +00:00
uriber%gmail.com
f031371342 Fix bullet positioning for justified RTL list items. bug=410503 r=smontagu sr=roc a1.9=dsicore
git-svn-id: svn://10.0.0.236/trunk@242352 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-04 10:22:38 +00:00
dbaron%dbaron.org
1dd488f200 Remove unused height output from nsLineLayout::EndSpan. b=407086 r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240947 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:51:18 +00:00
dbaron%dbaron.org
ca599b55f9 Remove some code that handles unconstrained widths (and fix nsFirstLetterFrame not to pass them). b=407086 r+sr=roc a=dsicore
git-svn-id: svn://10.0.0.236/trunk@240946 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 21:51:00 +00:00
roc+%cs.cmu.edu
96a373842b Bug 404180. Bidi reordering moves frames around so we can't trust pfd->mBounds in nsLineLayout::RelativePositionFrames. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240888 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:43:09 +00:00
roc+%cs.cmu.edu
6cdf26cc6c Bug 407111. Correctly set whether a break opportunity after non-text content fits. r+sr=dbaron,a=schrep
git-svn-id: svn://10.0.0.236/trunk@240602 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:17:19 +00:00
smontagu%smontagu.org
9a091c85e5 Only try to process first-letter frames when they exist. Bug 404209, r+sr+b=roc
git-svn-id: svn://10.0.0.236/trunk@240520 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 08:15:15 +00:00
dmose%mozilla.org
0714b46c51 Backing out fix for bug 392785 as per roc + mconnor.
git-svn-id: svn://10.0.0.236/trunk@240455 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 23:32:09 +00:00
masayuki%d-toybox.com
425bca40e0 Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
git-svn-id: svn://10.0.0.236/trunk@240281 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:51:59 +00:00
roc+%cs.cmu.edu
c0a6fa787e Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@240211 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 09:24:25 +00:00
reed%reedloden.com
ac5eee7567 Bug 404636 - "Building without SVG fails" [p=romaxa@gmail.com (romaxa) r+sr=roc a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@239797 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 21:09:12 +00:00
roc+%cs.cmu.edu
7c1401f45f Bug 402950. Allow spans to always be placed on a line, because part of the span may fit even if the whole span doesn't. Also request backup earlier so we always backup if we decline to place a frame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@239614 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 21:36:19 +00:00
jwatt%jwatt.org
96b895330a Fixing bug 294086. <svg> should be a replaced element. r+sr=dbaron@mozilla.com blocking1.9=tor@acm.org
git-svn-id: svn://10.0.0.236/trunk@239599 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-18 12:09:09 +00:00
dbaron%dbaron.org
4b0e63ba0d Rename new width keywords to match CSS WG decision. b=402706 r+sr=bzbarsky a=blocking1.9+
git-svn-id: svn://10.0.0.236/trunk@239468 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 18:10:32 +00:00
reed%reedloden.com
78dfb21478 Bug 400369 - "List markers (bullets) positioned incorrectly for left- and center-aligned list items in RTL lists" [p=uriber@gmail.com (Uri Bernstein) r=smontagu sr+a1.9=roc]
git-svn-id: svn://10.0.0.236/trunk@239033 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 07:49:56 +00:00
reed%reedloden.com
e056220398 Bug 402338 - "outline property on inline-block painted too far outside" [p=roc r+sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@239024 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:49:38 +00:00
roc+%cs.cmu.edu
50ac1632d1 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@237953 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 07:30:27 +00:00
roc+%cs.cmu.edu
6351387599 Bug 392829. Clean up nsLineLayout code that's not used (or at least used differently). r+sr+a=dbaron
git-svn-id: svn://10.0.0.236/trunk@237043 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-02 02:36:26 +00:00
roc+%cs.cmu.edu
44e8f1fb7a Bug 96041. Compute precise glyph extents for high-quality text, and when requested. r=vlad,r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236536 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 02:19:16 +00:00
roc+%cs.cmu.edu
a0eb13a375 Backing out due to test bustage
git-svn-id: svn://10.0.0.236/trunk@236492 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 13:28:17 +00:00
roc+%cs.cmu.edu
48a9ae898b Bug 96041. Compute true glyph bounding metrics. r=vlad,dbaron,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@236491 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-22 12:43:55 +00:00
roc+%cs.cmu.edu
53d71bbebc Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232154 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 18:39:38 +00:00
roc+%cs.cmu.edu
4922258ec4 Backing out
git-svn-id: svn://10.0.0.236/trunk@232123 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 16:20:46 +00:00
roc+%cs.cmu.edu
062e921d54 Bug 385270. Clean up textframe offset invariants: try #2 --- mContentLength no longer exists/is no longer trusted. r=smontagu,a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232121 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 16:04:17 +00:00
roc+%cs.cmu.edu
e63bc63a94 Backing out patches for bug 385270 (mostly --- due to other checkins in the meantime, the GetContent*() helper functions need to stay) to fix regressions. a=schrep
git-svn-id: svn://10.0.0.236/trunk@231203 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-30 23:56:14 +00:00
roc+%cs.cmu.edu
79a30d7b05 Bug 385270. Remove unnecessary (hopefully) bidi offset adjustment; the offsets will get fixed by a later reflow. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@230729 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 03:48:10 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
sharparrow1%yahoo.com
3e9bf4e918 Bug 285608: hangs when page with float printed. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@228847 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 16:35:31 +00:00
roc+%cs.cmu.edu
e5b5169706 Bug 383551. Clean up IsInlineFrame, nsStyleDisplay::IsBlockLevel and related methods. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@228806 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 02:31:35 +00:00
mats.palmgren%bredband.net
9457661ae7 Check LL_GOTLINEBOX before using mLineBox. b=382396 r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@227254 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 15:08:50 +00:00
sharparrow1%yahoo.com
66ceed1300 Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226704 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 09:55:27 +00:00
roc+%cs.cmu.edu
0fe9131095 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226699 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 03:46:22 +00:00
dbaron%dbaron.org
68aab90fcd Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@226290 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:02:31 +00:00
bzbarsky%mit.edu
1dc27c2834 Twiddle parentheses a little bit. Bug 311415 followup, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@226235 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 02:55:15 +00:00
bzbarsky%mit.edu
ba5badedcb Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
the method, instead of setting them before calling the method.  That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children.  This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call.  Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.


git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
bzbarsky%mit.edu
33b3f60e43 Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu
1788f844d4 Make computed style handle "normal" for line-height by computing an actual
numeric height.  Bug 371041, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00
dbaron%dbaron.org
03a83ad9f2 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
c6883a6983 Make the display frame resize correctly when the <select>'s width changes. Bug
370422, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@221058 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 03:04:38 +00:00
roc+%cs.cmu.edu
c5bc6fd3ff Bug 369227. Record the first soft break beyond the available width, if there isn't one within the available width. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@220621 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-21 01:52:03 +00:00