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
sharparrow1%yahoo.com
4e50607a9e
Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
mats.palmgren%bredband.net
f18bdf8544
Check LL_GOTLINEBOX before using mLineBox. b=368461 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@219703 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 13:53:51 +00:00
cvshook%sicking.cc
ccd1d6884d
Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
...
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
dbaron%dbaron.org
c380d24c54
Combine the code that tests inlines for dependence on the containing block width in order to disable resize reflow optimizations, and add to that code things that shrink wrap (inline-block, inline-table, buttons, fieldsets). Also move the percentage-height tests out, and into InitResizeFlags. b=163504 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219046 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:40:26 +00:00
dbaron%dbaron.org
3052400d5e
Implement CSS display types inline-block and inline-table. b=9458, 18217 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@219045 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 18:36:57 +00:00
dbaron%dbaron.org
103e95ab15
Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
29067fe44b
Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218576 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
09049cfebe
Backout of nsLineLayout changes; trying to fix luna orange
...
git-svn-id: svn://10.0.0.236/trunk@218497 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
75d52f8575
Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@218491 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
4f42d74394
Backing out text landing.
...
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +00:00