servo/components/script/dom
bors-servo fd1bb49a65 auto merge of #5160 : pcwalton/servo/counters-redux, r=SimonSapin
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)

Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.

Reconstructed from #5138 via raw diffing.

r? @SimonSapin
2015-03-09 23:24:47 -06:00
..
bindings auto merge of #5054 : psdh/servo/scriptimplementation, r=jdm 2015-03-06 13:36:53 -07:00
webidls layout: Implement ordered lists, CSS counters, and quotes per CSS 2.1 2015-03-09 17:13:45 -07:00
activation.rs Initialize trusted-ness of DOM events properly 2015-02-03 21:40:07 -05:00
attr.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
blob.rs Fix some warnings in script. 2015-02-12 20:05:14 +01:00
browsercontext.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
canvasgradient.rs script: Implement enough 2D canvas support to render basic SVGs such as the tiger. 2015-02-22 22:29:58 -05:00
canvaspattern.rs script: Implement enough 2D canvas support to render basic SVGs such as the tiger. 2015-02-22 22:29:58 -05:00
canvasrenderingcontext2d.rs Cleanup compilation warning. 2015-03-02 17:03:06 -08:00
characterdata.rs fix function on utf8 string, pass two tests 2015-02-28 10:21:36 +08:00
comment.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
console.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
create.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
cssstyledeclaration.rs Documentation and cleanup. 2015-03-03 16:25:40 -05:00
customevent.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
dedicatedworkerglobalscope.rs Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg via introduction of Worker::WorkerErrorHandler (Closes #5171). 2015-03-09 09:24:40 -04:00
document.rs auto merge of #5150 : Adenilson/servo/reflowNotifications03, r=jdm 2015-03-06 21:48:50 -07:00
documentfragment.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
documenttype.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
domexception.rs Inline DOMException::new_from_error. 2015-02-28 18:20:42 +01:00
domimplementation.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
domparser.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
domrect.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
domrectlist.rs Replace uint/int by usize/isize in various places. 2015-02-20 14:45:47 +01:00
domstringmap.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
domtokenlist.rs Replace uint/int by usize/isize in various places. 2015-02-20 14:45:47 +01:00
element.rs Move selector matching to an external library, for use outside Servo. 2015-02-23 16:29:34 +01:00
errorevent.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
event.rs Implement 'beforescriptexecute' and 'afterscriptexecute' events. 2015-02-25 15:37:54 -07:00
eventdispatcher.rs Add handling for unreported exceptions when invoking callback objects. 2015-01-14 12:54:46 -05:00
eventtarget.rs Initialize trusted-ness of DOM events properly 2015-02-03 21:40:07 -05:00
file.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
formdata.rs Add Unrooted::from_js. 2015-02-12 20:59:22 +01:00
htmlanchorelement.rs Implementation of step 1 activation behavior of htmlanchorelement (fixes #4871) 2015-03-02 12:54:50 +08:00
htmlappletelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlareaelement.rs Mark HTMLAreaElement and KeyboardEvent as DOM structs. 2015-02-02 10:03:12 +01:00
htmlaudioelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlbaseelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlbodyelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmlbrelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlbuttonelement.rs remove type match in is_instance_activatable 2015-02-03 21:39:24 +08:00
htmlcanvaselement.rs Implement Canvas pixel manipulation 2015-02-22 13:41:58 -05:00
htmlcollection.rs Replace uint/int by usize/isize in various places. 2015-02-20 14:45:47 +01:00
htmldataelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmldatalistelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmldirectoryelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmldivelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmldlistelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmlembedelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlfieldsetelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlfontelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlformelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmlframeelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlframesetelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlheadelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlheadingelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlhrelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlhtmlelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmliframeelement.rs Documentation and cleanup. 2015-03-03 16:25:40 -05:00
htmlimageelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmlinputelement.rs Fix some warnings in script. 2015-02-12 20:05:14 +01:00
htmllabelelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmllegendelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmllielement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmllinkelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmlmapelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlmediaelement.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
htmlmetaelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlmeterelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlmodelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlobjectelement.rs Import net as net rather than servo_net. 2015-02-10 12:55:24 +01:00
htmlolistelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmloptgroupelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmloptionelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmloutputelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlparagraphelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlparamelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlpreelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlprogresselement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlquoteelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlscriptelement.rs auto merge of #5054 : psdh/servo/scriptimplementation, r=jdm 2015-03-06 13:36:53 -07:00
htmlselectelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlserializer.rs The HTML serializer depth can change on each iteration. 2015-02-22 15:02:20 -05:00
htmlsourceelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlspanelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlstyleelement.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
htmltablecaptionelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltablecellelement.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
htmltablecolelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltabledatacellelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltableelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltableheadercellelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltablerowelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltablesectionelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltemplateelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltextareaelement.rs formcontrol trait to element trait 2015-02-03 19:50:31 +08:00
htmltimeelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmltitleelement.rs Change window title to reflect document title 2015-02-18 10:51:37 +10:00
htmltrackelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlulistelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlunknownelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
htmlvideoelement.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
imagedata.rs Implement Canvas pixel manipulation 2015-02-22 13:41:58 -05:00
keyboardevent.rs Import msg as msg rather than servo_msg. 2015-02-10 11:40:36 +01:00
location.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
macros.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
messageevent.rs Initialize trusted-ness of DOM events properly 2015-02-03 21:40:07 -05:00
mod.rs script: Implement enough 2D canvas support to render basic SVGs such as the tiger. 2015-02-22 22:29:58 -05:00
mouseevent.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
namednodemap.rs Replace Root::deref() calls by Root::r() calls where possible. 2015-01-01 20:36:43 +01:00
navigator.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
navigatorinfo.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
node.rs auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger 2015-03-05 01:15:44 -07:00
nodeiterator.rs Remove manual impls of Reflectors (autogen) 2014-12-27 02:52:33 +05:30
nodelist.rs Replace uint/int by usize/isize in various places. 2015-02-20 14:45:47 +01:00
performance.rs Replace Root::deref() calls by Root::r() calls where possible. 2015-01-01 20:36:43 +01:00
performancetiming.rs Remove manual impls of Reflectors (autogen) 2014-12-27 02:52:33 +05:30
processinginstruction.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
progressevent.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
range.rs Fixes #4164 Make Constructor and new functions take GlobalRef by value 2015-01-07 18:52:41 -05:00
screen.rs Remove manual impls of Reflectors (autogen) 2014-12-27 02:52:33 +05:30
servohtmlparser.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
storage.rs Import net as net rather than servo_net. 2015-02-10 12:55:24 +01:00
testbinding.rs Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm 2015-02-27 18:28:01 -08:00
text.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
treewalker.rs Use the try macro for the result of accept_node. 2015-02-08 16:38:12 +01:00
uievent.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
urlhelper.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
urlsearchparams.rs Replace Root::deref by a custom get_unsound_ref_forever method. 2015-02-05 18:45:20 +01:00
validitystate.rs Remove manual impls of Reflectors (autogen) 2014-12-27 02:52:33 +05:30
virtualmethods.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
websocket.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
window.rs Implements reflow events debugging. 2015-03-06 12:27:18 -08:00
worker.rs Subsume ScriptMsg::WorkerDispatchErrorEvent into ScriptMsg::RunnableMsg via introduction of Worker::WorkerErrorHandler (Closes #5171). 2015-03-09 09:24:40 -04:00
workerglobalscope.rs Rename FailureUnknown to JSFailed. 2015-02-28 18:20:41 +01:00
workerlocation.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
workernavigator.rs Import the util crate as util rather than servo_util. 2015-01-29 12:16:41 +01:00
xmlhttprequest.rs Fixing Intermittent failure in pages with timers 2015-02-22 00:27:16 +05:30
xmlhttprequesteventtarget.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
xmlhttprequestupload.rs Remove manual impls of Reflectors (autogen) 2014-12-27 02:52:33 +05:30