dbaron%dbaron.org
519cf3b3d3
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
2ec3b927fc
OOM check. r+sr=bzbarsky b=188803
...
git-svn-id: svn://10.0.0.236/trunk@143838 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
906d582953
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143831 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 01:59:57 +00:00
bryner%netscape.com
c33aef44ab
Remove unused content code. Bug 207021, r=jst, sr=alecf.
...
git-svn-id: svn://10.0.0.236/trunk@143806 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 17:53:06 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
feecd6d1c1
Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@143796 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:22:51 +00:00
bzbarsky%mit.edu
573909f5fc
Backing out fix for bug 22480 to fix regression bug 209504.
...
git-svn-id: svn://10.0.0.236/trunk@143777 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 23:40:13 +00:00
aaronl%netscape.com
290c0f8aa6
Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl
...
git-svn-id: svn://10.0.0.236/trunk@143756 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 11:17:18 +00:00
aaronl%netscape.com
4e1597726e
Bug 174910. Mutation events inside anchors not propogated up tree. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@143755 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 10:37:59 +00:00
bzbarsky%mit.edu
d3a8aa7506
Prevent <font>'s color attribute from wiping out its text-decoration style.
...
Bug 149106, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143723 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 02:06:25 +00:00
bzbarsky%mit.edu
87c48ba870
Make <form><p></form> actually close out the form, since <p> has an optional
...
end tag. Bug 22480, r=harishd, sr=heikki.
git-svn-id: svn://10.0.0.236/trunk@143719 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-15 00:49:57 +00:00
dbaron%dbaron.org
1b41fc35f5
Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143715 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu
377bb83078
CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
...
r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143713 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 20:44:26 +00:00
dbaron%dbaron.org
88ba03e14a
Fix crash introduced by changes earlier today. b=209087
...
git-svn-id: svn://10.0.0.236/trunk@143705 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 03:47:13 +00:00
caillon%returnzero.com
1a6619f8e8
Fixing some bustage for cocoa and debug builds
...
git-svn-id: svn://10.0.0.236/trunk@143690 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 22:02:42 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
samuel%sieb.net
6c3d87bc59
Bug 205850 - add "rightmargin" and "bottommargin" keywords
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@143664 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 05:00:35 +00:00
harishd%netscape.com
893e8e41f1
Grant access to SOAP response document's properties and also allow the document to be serializable. b=193953, r=heikki@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@143644 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 20:18:34 +00:00
caillon%returnzero.com
fb75cd3bbb
Bug 209133
...
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)
r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@143619 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org
b661a5ef4c
Fix silly mistake. b=209091 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143612 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 00:03:32 +00:00
alecf%flett.org
1c89787dc0
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org
cec7d5f7e9
Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143535 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
cdf2a0078e
Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@143534 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 22:08:40 +00:00
seawood%netscape.com
06e1507b0c
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
brade%netscape.com
0b236edca0
add functionality to gethtml (cmd_getContents) using queryCommandValue; r=mkaply, sr=smfr, bug=208467
...
git-svn-id: svn://10.0.0.236/trunk@143526 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:12:29 +00:00
dbaron%dbaron.org
24945a622f
Add nsILink back to the QueryInterface implementation to fix :link matching LINK. b=208588 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143433 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-08 19:53:55 +00:00
dbaron%dbaron.org
14308cc6fc
Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@143432 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-08 19:52:22 +00:00
dbaron%dbaron.org
bf4ec31727
Put more information on the CSS properties in nsCSSPropList.h.
...
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143421 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-07 22:14:42 +00:00
mkaply%us.ibm.com
630da50bcb
#158610
...
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
git-svn-id: svn://10.0.0.236/trunk@143287 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 13:15:37 +00:00
ere%atp.fi
f7a65f0fc8
Fix for bug 207413: Midas: designMode = "on" fails for a newly created iframe
...
patch by jst
r=ere
sr=kin
git-svn-id: svn://10.0.0.236/trunk@143115 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 20:04:50 +00:00
brade%netscape.com
6a7c4be3cc
handle insertHTML and fix fontface to support 2-byte font strings; r=mkaply; sr=kin; bug=184509
...
git-svn-id: svn://10.0.0.236/trunk@143101 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 15:02:12 +00:00
jaggernaut%netscape.com
fd04e5bb85
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
...
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
alecf%flett.org
56320c5c9a
big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument
...
git-svn-id: svn://10.0.0.236/trunk@143055 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 22:11:23 +00:00
jst%netscape.com
7cb8a84e4b
Fixing build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@143019 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 02:07:35 +00:00
jst%netscape.com
af9678d61c
Fixing bug 203345. Making image maps work correctly in XHTML documents. r=heikki@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@143012 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 00:53:03 +00:00
timeless%mozdev.org
e4477711d0
Bug 207330 nsHTMLDocument::TryChannelCharset should use do_GetService (like everyone else) to get @mozilla.org/intl/charsetalias;1
...
r=bz sr=bz
git-svn-id: svn://10.0.0.236/trunk@143002 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 22:34:22 +00:00
danm%netscape.com
6c64f8bd54
make wyciwyg urls unique across all documents. bug 172251 code=radha r=nisheeth,jst i'm just the monkey boy.
...
git-svn-id: svn://10.0.0.236/trunk@142996 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-28 22:12:16 +00:00
bzbarsky%mit.edu
636fa48493
Make some static data const in content. Bug 204532, patch by ataylor@its.to
...
(Andrew Taylor), r=bzbarsky, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@142936 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-27 03:49:22 +00:00
cbiesinger%web.de
43be84eb26
patch by tenthumbs@cybernex.net r+sr=bz bug 206864
...
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
git-svn-id: svn://10.0.0.236/trunk@142928 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-26 16:59:40 +00:00
brade%netscape.com
bf900c168e
handle fontname and other commands which respond with non-cstrings; r=mkaply, sr=smfr, a=asa; bug 204053
...
git-svn-id: svn://10.0.0.236/trunk@142817 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 13:26:46 +00:00
mkaply%us.ibm.com
ea1230a8b5
#206317
...
r=ere, sr=jst, a=mkaply
Set a default content type to text/html when doing document.write()
git-svn-id: svn://10.0.0.236/trunk@142771 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 22:39:04 +00:00
bzbarsky%mit.edu
13bef7dd68
Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
...
<elawrenc69@yahoo.com >, r+sr=bzbarsky, a=asa
git-svn-id: svn://10.0.0.236/trunk@142681 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 02:06:01 +00:00
bzbarsky%mit.edu
e0cdf6ff12
Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
...
203256, r+sr=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@142595 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu
044fdfa54a
Make font-size:larger and font-size:smaller smarter about interpolating and
...
extrapolating font sizes. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com >, r=bzbarsky, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@142587 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-17 16:11:51 +00:00
dbaron%dbaron.org
69da9d4a19
Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
bryner%netscape.com
468d4be15c
Fixes for a number of focus problems:
...
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)
Summary of the changes:
- Don't require a frame to be present for focus events. This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent. We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().
r=jkeiser, sr=jst, a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@142319 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 07:11:16 +00:00
mstoltz%netscape.com
78812a2acd
Bug 204682 - do not allow document.domain to be set to the empty string. r=heikki, sr=darin, a=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@142288 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 23:56:04 +00:00
jst%netscape.com
b13c376d17
Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@142254 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-09 01:42:13 +00:00
bzbarsky%mit.edu
e006bb47d1
Minor tweak to never match in an error case we better not be hitting anyway.
...
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142190 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 01:59:25 +00:00
darin%netscape.com
1d9c4bbeb7
fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
...
r=dwitte sr=dveditz a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142134 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-05 21:27:02 +00:00