Henri Sivonen
89dc7f5ddb
Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen). r=wchen
...
MozReview-Commit-ID: 4xQlhExyo7d
2017-04-12 14:28:49 +03:00
Henri Sivonen
6274301b73
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen
...
MozReview-Commit-ID: 4In5wo0flOB
2017-04-12 13:21:03 +03:00
Henri Sivonen
d333738e61
Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements. r=wchen.
...
MozReview-Commit-ID: 1fiqOuGUOBG
2017-04-11 17:43:54 +03:00
Henri Sivonen
61d189d87f
Bug 1352082 - Avoid shifting a signed integer left in C++. r=wchen
...
MozReview-Commit-ID: 52YqyHAz2c3
2017-04-07 13:26:31 +03:00
Henri Sivonen
cb263a268d
Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. r=wchen.
...
MozReview-Commit-ID: Gn9fXroxQhY
2017-03-20 14:45:15 +02:00
Henri Sivonen
751a46a740
Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen
...
Original patch by :hsivonen
MozReview-Commit-ID: C8UK7m7V9tn
2016-12-22 11:30:41 +02:00
Boris Zbarsky
e7fcf1b1a1
Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
...
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.
I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:
1) nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused. We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.
2) In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
Yuki Sekiguchi
4700627e63
Bug 1042885 - Part 1: A rp element should not auto close a rtc element. r=wchen
2014-08-18 22:33:45 -07:00
John Schoenick
c4314cfdaf
Bug 870022 - Part 5.4 - Teach parser about <picture> (generated bits). r=hsivonen
2014-06-25 11:47:49 -07:00
Yuki Sekiguchi
510ac08043
Bug 664104 - Part 1: Implement new ruby model in HTML parser. r=wchen
2014-06-20 17:08:31 -07:00
Henri Sivonen
9a0ebc58ff
Bug 959150 part 1 - Represent nodes as void* in the portable part of the parser. r=smaug.
2014-03-05 21:38:49 +02:00
Ryan VanderMeulen
35226d8b0a
Backed out 8 changesets (bug 959150) for Linux debug build bustage on a CLOSED TREE.
...
Backed out changeset 30bdc9b15e8e (bug 959150)
Backed out changeset 630e489aed30 (bug 959150)
Backed out changeset c6874004efe7 (bug 959150)
Backed out changeset ebc67518a962 (bug 959150)
Backed out changeset 14441e528582 (bug 959150)
Backed out changeset 8d0ae8bffb08 (bug 959150)
Backed out changeset 603b63c33e9a (bug 959150)
Backed out changeset 261e2d244c54 (bug 959150)
2014-03-05 15:26:07 -05:00
Henri Sivonen
ad4e4d2e99
Bug 959150 part 1 - Represent nodes as void* in the portable part of the parser. r=smaug.
2014-03-05 21:38:49 +02:00
Reuben Morais
16c1e76108
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
2014-02-27 20:04:46 -03:00
L. David Baron
eccc6c3bd1
Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg
...
This makes sense since the file no longer contains anything with the
nsTraceRefcnt name in it, and it will allow renaming nsTraceRefcntImpl
back to nsTraceRefcnt.
2014-02-26 13:36:35 -08:00
Robert Longson
62850bea68
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
2014-02-05 15:04:08 +00:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
William Chen
b0e6b247fb
Bug 937259 - Remove <command> element from the parser. r=hsivonen
2013-11-13 15:17:13 -08:00
William Chen
952b0d1ecd
Bug 897153 - Update parsing of template element to spec as of July 15, 2013. r=hsivonen
2013-08-12 14:46:12 -07:00
Henri Sivonen
17c19c799e
Bug 870787 HTML parser part - Make <img> a form-associated element in the HTML parser. r=smaug
2013-06-06 11:02:30 +03:00
William Chen
d46f74e162
Bug 818976 - Part 3: Generated code for HTML5 parser. r=hsivonen
2013-03-26 00:15:23 -07:00
Henri Sivonen
775a9691b3
Bug 820508 part 1 - Parser support for <main>. r=smaug.
2013-01-29 14:31:45 +02:00
Henri Sivonen
383d5e3079
Bug 808464 - Refresh the "special" list in the HTML parser and the check for that list in the <dd> case. r=smaug.
2012-11-12 16:41:17 +02:00
Henri Sivonen
870992c36d
Bug 799958 - Remove prtype.h from C++ translator output. r=smaug.
2012-10-25 14:03:27 +03:00
Henri Sivonen
e99efa93f4
Bug 503190 - Include assertions in the C++ translator output. r=smaug.
2012-10-01 11:52:32 +03:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Henri Sivonen
a42c6e14db
Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay.
2010-07-30 13:15:38 +03:00
Jan Varga
9fd5d9e2f6
Bug 676236 - Add support for the <menuitem> element to the HTML parser (not enabled by default) r=hsivonen
2011-08-06 08:41:36 +02:00
Henri Sivonen
cb3cedf1bc
Bug 643395 - Update the HTML parser Java code to the state in the htmlparser repo (NPOTB). rs=jonas.
2011-04-08 09:07:27 +03:00
Michael(tm) Smith
e3156c4365
Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst.
2011-01-12 10:05:09 +02:00
Henri Sivonen
d3fc35ebd5
Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
b40e883623
Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:57 +02:00
Henri Sivonen
45c1d01727
Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN.
2010-10-07 10:27:16 +03:00
Henri Sivonen
a00ca20e07
Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
2010-09-28 10:32:31 +03:00
Henri Sivonen
805ba079f4
Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
2010-09-08 19:31:22 +03:00
Henri Sivonen
8c27c20f4a
Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
2010-09-15 11:37:55 +03:00
Henri Sivonen
ed398af2c1
Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin.
2010-06-24 11:54:33 +03:00
Henri Sivonen
b8c6cd4e34
Bug 571389 - Make <basefont> and <bgsound> parse like <link>. r=jonas.
2010-06-11 18:08:13 +03:00
Henri Sivonen
38f1270287
Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas.
2010-04-19 16:25:13 +03:00
Henri Sivonen
4d410f2cc6
Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky.
2010-04-16 13:52:06 +03:00
Henri Sivonen
ba8fdf3a36
Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman.
2010-04-16 13:52:06 +03:00
Henri Sivonen
c0974bfcc8
Bug 555906 - </datalist> does not implicitly close an <option> in the HTML5 parser. r=bnewman.
2010-04-09 18:48:30 +03:00
Henri Sivonen
b70fd25289
Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
2010-03-09 14:39:32 +02:00
Henri Sivonen
c43e74a76d
Bug 502804, bug 510063 - Update the HTML5 tree builder to spec as of 2009-11-24. rs=sicking.
2009-11-30 17:34:51 +02:00
Henri Sivonen
2cf48a3ad5
Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman.
2009-09-21 16:18:20 +03:00
Henri Sivonen
4384f2fdf0
Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman.
2009-09-21 14:43:43 +03:00
Henri Sivonen
2b8f6a2e36
Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap.
2009-09-18 12:21:47 +03:00
Henri Sivonen
3cb3b0a9bc
Bug 501015 - Address code style comments from timeless. r+sr=mrbkap
2009-07-15 14:30:33 +03:00
Henri Sivonen
9d929e0804
Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap
2009-06-30 13:50:56 +03:00