Commit Graph

721 Commits

Author SHA1 Message Date
Rob Arnold
02f6da6fec -moz-system-metric selector doesn't update when the theme changes - bug 447045 r+sr=dbaron 2008-08-05 13:02:43 -07:00
Robert Longson
17c99ca38b bug 445687 - Should not be able to nest text r+sr=roc 2008-08-05 14:07:03 +01:00
Michael Ventnor
f7783e7a9b Bug 448903. Fix bounds checking in blur code. r+sr=roc 2008-08-04 14:18:46 +12:00
Robert O'Callahan
d7dcf6eeb2 Bug 419285. nsCSSFrameConstructor should stop looking for first-letter content after a <br>. r+sr=dbaron 2008-07-29 22:02:00 -07:00
Boris Zbarsky
46b8af8b1f Bug 431520 followup. Actually return a value! 2008-07-29 01:17:28 -07:00
Boris Zbarsky
cdd7ce070b Bug 431520. Don't do first-line styling on fieldsets, because it confuses the legend code, and it's not clear what it should even do. r+sr=dbaron 2008-07-28 23:08:57 -07:00
Markus Stange
0666167109 Bug 446463 - DrawWidgetBackground can't snap to pixels properly, remove translation. r+sr=roc. 2008-07-27 18:08:51 +02:00
L. David Baron
c5235e21f2 Fix a bunch of issues relating to dynamic changes of border images. (Bug 445810) r=robarnold sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
4eda4573f0 Fix media queries calculation of screen size for at least multi-monitor mirroring cases (where test_media_queries fails). (Bug 156716) r+sr=roc 2008-07-26 09:14:49 -07:00
L. David Baron
07bbfcbe0b Implement Media Queries, part 4: infrastructure for dynamic change handling at the pres context level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
10045a5167 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Simon Montagu
0dd0a7f5ba Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Vladimir Vukicevic
c0c3d63433 b=424423; border rendering is slow: Part 2; r+sr=roc 2008-07-23 10:25:51 -07:00
Vladimir Vukicevic
249ff0de3c b=424423, border rendering is slow: Part 1; r+sr=roc 2008-07-23 10:25:23 -07:00
L. David Baron
addab50588 Don't restyle slow selectors for changes to anonymous content (non-native-anonymous). (Bug 436453) r+sr=bzbarsky 2008-07-22 21:50:20 -07:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
Eric Butler
0814facc93 Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc 2008-07-18 11:29:06 -07:00
Zack Weinberg
3197060cbd Delete nsLayoutUtils::GetAbsoluteCoord(); fold logic into callers and simplify. (Bug 437335) r+sr=dbaron 2008-07-17 16:37:12 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
49c9b3d67e Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
9e4ceade8e Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith ext:(%2C%20Rob%20Arnold%20%3Ctellrob%40gmail.com%3E%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
bb4be48531 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Zack Weinberg
58cf580d4a Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-15 14:31:36 -07:00
Michael Ventnor
71040cae9a Bug 444925 – Crash [@ nsContextBoxBlur::BoxBlurHorizontal] with mathml:munderover and text-shadow. r+sr=roc 2008-07-14 12:35:15 +02:00
Robert O'Callahan
7e15def36c Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
Karuna (karunasagark@gmail.com)
22a214272c Bug 409331. Instead of QIing to nsBlockFrame in various places, call an nsLayoutUtils method to do it. r+sr=roc 2008-07-14 10:10:23 +12:00
Robert Longson
67af1e3115 Bug 409383 - Make dynamic changes to switch children work and fix transient switch errors. r=jwatt,sr=roc 2008-07-13 12:30:48 +01:00
Andrzej Zaborowski
557bc969d3 Remove unimplemented DumpContentToPPM() member (bug 379015 leftover). r+sr=roc 2008-07-12 12:21:38 +02:00
Boris Zbarsky
f98d5014e5 Bug 431770. Make sure to start/end a frame constructor update when reconstructing frames. r+sr=dbaron 2008-07-11 17:15:11 -04:00
Daniel Holbert
783f0d51f8 (No code changes) Change a bunch of non-executable files in layout/ to have non-executable mode.
Filetypes changed: .cpp .gif .h .html .list .png .svg .x-ccmap .xbl .xhtml .xul
2008-07-11 11:54:06 -07:00
Robert O'Callahan
cf7c906882 Fixing bustage 2008-07-09 20:56:02 +12:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Michael Ventnor
321e39670e Bug 439343 - "Crash [@ _moz_cairo_surface_set_device_offset ] with text-shadow, large text-indent, font-size and letter-spacing" [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-08 00:43:00 -05:00
Michael Ventnor
8d8eda2eae Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-07 19:57:47 -05:00
Michael Ventnor
3a7677bb26 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Karl Tomlinson
3fc8bd0f47 Add nsPresContext::AppUnitsToGfxUnits(const nsRect&)
b=430450 r+sr=roc
2008-07-07 14:28:24 +12:00
L. David Baron
81a5bb06eb Back out 0b57ada5d4b2 due to mochitest failures on at least Windows. (Bug 363706) 2008-07-01 22:00:02 -07:00
Zack Weinberg
bd759bbd40 Remove eStyleUnit_Chars and the special cases for it throughout layout, and make ch units go through the normal eStyleUnit_Coord cases. (Bug 363706) r+sr=dbaron 2008-07-01 20:24:36 -07:00
Benjamin Smedberg
34d11c2d91 Bug 442729 - Annotate stack-only classes in layout, r+sr=roc 2008-07-01 15:16:45 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
3c3ddb020f Bug 344258. Make <use> honour changes to the ID-to-element map. r=longsonr,sr=mats 2008-06-26 10:41:04 +12:00
Michael Ventnor
fc2e1b57c0 Bug 118308, NS_THEME_TEXTFIELD_CARET implementation (GTK), r+sr=roc 2008-06-23 11:50:52 +03:00
L. David Baron
8030cac4e8 Backed out changeset f6b609b0af6e 2008-06-17 16:10:53 -07:00
Zack Weinberg
8368d7844f Add .zeroOrAveCharWidth field to gfxFont::Metrics. Initialize it in all font backends. Use it when computing CSS 'ch' units. (Bug 363706) r=roc sr=dbaron 2008-06-17 14:37:56 -07:00
Simon Montagu
dfcf9f51e9 Remove unnecessary argument from SetBidiEnabled. Bug 435856, r+sr=roc 2008-06-16 02:28:17 -07:00
Robert O'Callahan
a1d025f6c8 Bug 438997. DoApplyRenderingChangeToTree should not invalidate SVG frames. r+sr=dbaron. 2008-06-14 20:29:41 +12:00
Michael Ventnor
7e868a56e1 Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac 2008-06-13 10:02:32 +12:00
Robert O'Callahan
6382ad7c40 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
Michael Ventnor
480a40574d Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
Robert O'Callahan
b23c80d5f5 Bug 402509. Simplify Thebes-using logic in nsDisplayOpacity::Paint. r+sr=vlad 2008-06-11 12:37:11 +12:00
L. David Baron
0f7580e2bf Don't restyle slow selectors for changes to native anonymous content. (Bug 436453) r+sr=bzbarsky 2008-06-10 17:26:59 -07:00
L. David Baron
3b97746336 Remove unneeded (and not present in the proposed CSS3 float-displace property) border-box and padding-box values of -moz-float-edge. (Bug 432891) r+sr=roc 2008-06-05 16:06:34 -07:00
Vladimir Vukicevic
0b3d9b76cc b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
89077a365d Snap background origin and clip areas to device pixels to prevent tiling from varying for subpixel position changes that don't change the box's visible position at all. Tests by roc (433640-*) and me (background-image-tiling-*). b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
6ce40d4252 Eliminate unnecessary reference counting of gfxContext objects. b=433640 r+sr=roc 2008-06-03 15:25:31 -07:00
L. David Baron
8a92bdecfb Make outlines on inlines containing blocks outline the blocks. b=424236,270191 r+sr=roc 2008-06-02 15:52:25 -07:00
roc+@cs.cmu.edu
271ffda39a Bug 433727. Make DocumentViewerImpl::GetFullZoom work when there's no presentation. r+sr=bzbarsky,a=beltzner 2008-05-26 15:03:11 -07:00
gavin@gavinsharp.com
29184ef30a Bug 430785: Caret not visible with right-clicking on a text input, patch by Martijn Wargers <martijn.martijn@gmail.com>, r+sr=roc, a=damon 2008-04-30 09:54:16 -07:00
vladimir@pobox.com
b58a1af929 b=427122, padding on select elements is ignored ; r=dbaron, a=beltzner 2008-04-25 16:12:45 -07:00
jruderman@hmc.edu
da69092b2a Add crashtest 2008-04-23 19:35:59 -07:00
gavin@gavinsharp.com
e50c8e8688 Bug 423523: Caret can leave div w/ contenteditable = true with repeated arrow keys, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=peterv, a=beltzner 2008-04-23 15:33:14 -07:00
jruderman@hmc.edu
aaa0927dc5 Add crashtest 2008-04-22 23:12:13 -07:00
jruderman@hmc.edu
66feb7a581 Add crazy crashtest 2008-04-22 21:47:42 -07:00
jruderman@hmc.edu
e856af4441 Add crashtest. 2008-04-22 21:32:54 -07:00
jruderman@hmc.edu
251b042f5f Adding crashtest 2008-04-22 21:19:35 -07:00
jruderman@hmc.edu
350ea2a794 Add crashtests 2008-04-22 20:56:59 -07:00
roc+@cs.cmu.edu
fd6e0971c3 Bug 335359. Make the caret thicker when it's at a Kanji character. r+sr=mrbkap,a=damon 2008-04-22 20:13:55 -07:00
gavin@gavinsharp.com
1a44673b56 Back out patch for bug 144000 (backout patch by jst@mozilla.org, r=uriber, sr=peterv, a=beltzner) 2008-04-22 13:48:37 -07:00
vladimir@pobox.com
5b4f07a7fa backing out 2008-04-20 01:24:42 -07:00
vladimir@pobox.com
1cc55575d3 b=427122, padding on select elements ignored, r=dbaron,a=beltzner 2008-04-19 23:42:00 -07:00
vladimir@pobox.com
904ec4aa1c Back out patch for bug 397303 due to serious perf regressions; r/sr=roc 2008-04-19 22:31:30 -07:00
jonas@sicking.cc
ea7b3dfeb2 Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner 2008-04-18 10:20:11 -07:00
roc+@cs.cmu.edu
ab9c3d7c92 Bug 429172. Return the docshell's script global object as soon as the document's content viewer has been Closed(). r+sr=sicking,a=beltzner 2008-04-18 03:02:03 -07:00
roc+@cs.cmu.edu
0608964380 Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron 2008-04-18 02:21:21 -07:00
fantasai.cvs@inkedblade.net
b093864cba consider relevant overflow when balancing columns (fixes various crashes and hangs) b=404215 r+sr=roc a=beltzner 2008-04-18 00:40:35 -07:00
roc+@cs.cmu.edu
f674174858 Bug 428156 backout 2008-04-17 04:52:32 -07:00
roc+@cs.cmu.edu
25d4009a17 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner 2008-04-17 01:15:14 -07:00
Olli.Pettay@helsinki.fi
ec05b75347 backout Bug 424377, a=beltzner 2008-04-15 11:02:22 -07:00
roc+@cs.cmu.edu
005cb0775b Bug 399258. nsCSSRendering::PaintBorder should not try to optimize away the case where the dirty rectangle is inside the element's padding-rect, because border-radius can make the border appear inside the padding-rect. nsDisplayBorder::OptimizeVisibility does this optimization correctly already so just remove it from PaintBorder. r+sr=vlad, a=damon 2008-04-14 18:41:12 -07:00
dbaron@dbaron.org
72f25cf7a0 Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons 2008-04-14 18:04:18 -07:00
jonas@sicking.cc
e639cf9471 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 16:59:21 -07:00
roc+@cs.cmu.edu
24c2f98e82 Bug 420987. The caret size should be specified in CSS pixels and it should be rounded like borders --- rounding down to the nearest device pixel, but not down to zero. r+sr=mrbkap,a=schrep 2008-04-14 14:09:23 -07:00
dholbert@cs.stanford.edu
8a24231d01 Bug 427017: Disable page-break-before/after for fixed- & absolutely-positioned elements. Also, fix assertion during an iterator-comparison by handling case where lineBox is in overflow-lines. r=fantasai sr=roc a1.9=beltzner 2008-04-11 22:32:49 -07:00
roc+@cs.cmu.edu
1dead6507c Bug 424915. Improve display list analysis so that sites with content covered by the scrolling element, such as GMail, can use bitblit scrolling. r+sr=dbaron,a=beltzner 2008-04-10 20:46:37 -07:00
roc+@cs.cmu.edu
f5291de857 Bug 426987. Split SaveState from nsIDocument::Destroy so that we don't do Destroy() while we're still displaying the document. r+sr=sicking,a=beltzner 2008-04-10 15:47:01 -07:00
roc+@cs.cmu.edu
299a099511 Bug 421432. Don't crash when we ScrollToAnchor after UnsuppressPainting tore down the document. r+sr=dbaron,a=beltzner 2008-04-10 15:42:03 -07:00
reed@reedloden.com
9eb7749c18 Bug 427163 - "Crash [@ nsContentUtils::ContentIsDescendantOf] with contenteditable, right-clicking and document.write" (add null check) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a1.9=damons] 2008-04-08 23:16:09 -07:00
ajschult@verizon.net
5404181bc3 Bug 408355: Better fix for bug 396024 that doesn't leak (as much). r+sr=roc, a=beltzner 2008-04-08 22:24:13 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
reed@reedloden.com
daf0485896 Bug 420499 - "Caret browsing mode wrongly engaged" (Mochitest) [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-08 11:52:48 -07:00
roc+@cs.cmu.edu
2e1111534b Bug 411585. Traverse all pages after the current page when painting a page, to locate placeholders that we need to traverse in order to paint out-of-flows on the current page. r+sr=dbaron 2008-04-08 06:06:12 -07:00
dholbert@cs.stanford.edu
f540bf2eab Bug 389949: Bustage fix 2008-04-07 17:47:14 -07:00
dholbert@cs.stanford.edu
d4e585ef8e Bug 389949, first patch: Use POINTS_PER_INCH_FLOAT in place of magic number '72.0f'. Basically cosmetic -- shouldn't change our behavior at all. r+sr=vlad, a=blocking1.9+ 2008-04-07 17:27:10 -07:00
masayuki@d-toybox.com
e725702581 Bug 427420 selection decoration lines (spell checker's underline and IME composing string underline) are not displayed r+sr+b1.9=roc 2008-04-07 16:57:13 -07:00
roc+@cs.cmu.edu
4f41fd4761 Bug 416735. When a table frame paints the backgrounds for all its parts, make sure those parts notify the table frame display item when they are background-attachment:fixed. r+sr=dbaron 2008-04-06 04:34:14 -07:00
smontagu@smontagu.org
974b8dbc2f Correct the coordinates for selection decoration in right-to-left text. Bug 421042, r+sr=roc, a=beltzner 2008-04-06 01:12:09 -07:00
mats.palmgren@bredband.net
6132a1f02e Disconnect the frame selection object from the pres shell earlier. b=421083 r+sr=roc a1.9=beltzner 2008-04-02 19:42:20 -07:00
Olli.Pettay@helsinki.fi
aca9d2e936 Bug 424377, r=jst, sr=roc 2008-04-01 03:37:28 -07:00
reed@reedloden.com
c0dd86e5fd Bug 420499 - "Caret browsing mode wrongly engaged" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=roc a=blocking1.9+] 2008-04-01 01:35:11 -07:00