aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script')
-rw-r--r--src/components/script/dom/characterdata.rs2
-rw-r--r--src/components/script/dom/event.rs2
-rw-r--r--src/components/script/dom/htmlbuttonelement.rs2
-rw-r--r--src/components/script/dom/htmlfontelement.rs2
-rw-r--r--src/components/script/dom/htmlformelement.rs2
-rw-r--r--src/components/script/dom/htmlsourceelement.rs6
-rw-r--r--src/components/script/dom/htmltablecaptionelement.rs2
-rw-r--r--src/components/script/dom/htmltimeelement.rs2
-rw-r--r--src/components/script/dom/htmlulistelement.rs2
-rw-r--r--src/components/script/html/hubbub_html_parser.rs2
-rw-r--r--src/components/script/layout_interface.rs2
-rw-r--r--src/components/script/script_task.rs4
12 files changed, 15 insertions, 15 deletions
diff --git a/src/components/script/dom/characterdata.rs b/src/components/script/dom/characterdata.rs
index 40b72f18faf..6bb25f6b5cb 100644
--- a/src/components/script/dom/characterdata.rs
+++ b/src/components/script/dom/characterdata.rs
@@ -37,7 +37,7 @@ impl CharacterData {
data: data
}
}
-
+
pub fn Data(&self) -> DOMString {
self.data.clone()
}
diff --git a/src/components/script/dom/event.rs b/src/components/script/dom/event.rs
index c54688626d3..dcd4fbe9ed5 100644
--- a/src/components/script/dom/event.rs
+++ b/src/components/script/dom/event.rs
@@ -14,7 +14,7 @@ use servo_util::str::DOMString;
use geom::point::Point2D;
pub enum Event_ {
- ResizeEvent(uint, uint),
+ ResizeEvent(uint, uint),
ReflowEvent,
ClickEvent(uint, Point2D<f32>),
MouseDownEvent(uint, Point2D<f32>),
diff --git a/src/components/script/dom/htmlbuttonelement.rs b/src/components/script/dom/htmlbuttonelement.rs
index 06614bd48f8..6e6a84bfb36 100644
--- a/src/components/script/dom/htmlbuttonelement.rs
+++ b/src/components/script/dom/htmlbuttonelement.rs
@@ -110,7 +110,7 @@ impl HTMLButtonElement {
pub fn SetName(&mut self, _name: DOMString) -> ErrorResult {
Ok(())
}
-
+
pub fn Type(&self) -> DOMString {
~""
}
diff --git a/src/components/script/dom/htmlfontelement.rs b/src/components/script/dom/htmlfontelement.rs
index b0c67b585c9..aad93fb79e7 100644
--- a/src/components/script/dom/htmlfontelement.rs
+++ b/src/components/script/dom/htmlfontelement.rs
@@ -56,7 +56,7 @@ impl HTMLFontElement {
pub fn SetFace(&mut self, _face: DOMString) -> ErrorResult {
Ok(())
}
-
+
pub fn Size(&self) -> DOMString {
~""
}
diff --git a/src/components/script/dom/htmlformelement.rs b/src/components/script/dom/htmlformelement.rs
index cabb71cc1ea..9bbbb8089db 100644
--- a/src/components/script/dom/htmlformelement.rs
+++ b/src/components/script/dom/htmlformelement.rs
@@ -124,7 +124,7 @@ impl HTMLFormElement {
pub fn Length(&self) -> i32 {
0
}
-
+
pub fn Submit(&self) -> ErrorResult {
Ok(())
}
diff --git a/src/components/script/dom/htmlsourceelement.rs b/src/components/script/dom/htmlsourceelement.rs
index ecaa2d5f8df..5542d5bf038 100644
--- a/src/components/script/dom/htmlsourceelement.rs
+++ b/src/components/script/dom/htmlsourceelement.rs
@@ -44,7 +44,7 @@ impl HTMLSourceElement {
pub fn Src(&self) -> DOMString {
~""
}
-
+
pub fn SetSrc(&mut self, _src: DOMString) -> ErrorResult {
Ok(())
}
@@ -52,7 +52,7 @@ impl HTMLSourceElement {
pub fn Type(&self) -> DOMString {
~""
}
-
+
pub fn SetType(&mut self, _type: DOMString) -> ErrorResult {
Ok(())
}
@@ -60,7 +60,7 @@ impl HTMLSourceElement {
pub fn Media(&self) -> DOMString {
~""
}
-
+
pub fn SetMedia(&mut self, _media: DOMString) -> ErrorResult {
Ok(())
}
diff --git a/src/components/script/dom/htmltablecaptionelement.rs b/src/components/script/dom/htmltablecaptionelement.rs
index 980fb4199f6..d92e87dd199 100644
--- a/src/components/script/dom/htmltablecaptionelement.rs
+++ b/src/components/script/dom/htmltablecaptionelement.rs
@@ -44,7 +44,7 @@ impl HTMLTableCaptionElement {
pub fn Align(&self) -> DOMString {
~""
}
-
+
pub fn SetAlign(&mut self, _align: DOMString) -> ErrorResult {
Ok(())
}
diff --git a/src/components/script/dom/htmltimeelement.rs b/src/components/script/dom/htmltimeelement.rs
index d41916b7afb..5e6f3113842 100644
--- a/src/components/script/dom/htmltimeelement.rs
+++ b/src/components/script/dom/htmltimeelement.rs
@@ -44,7 +44,7 @@ impl HTMLTimeElement {
pub fn DateTime(&self) -> DOMString {
~""
}
-
+
pub fn SetDateTime(&mut self, _dateTime: DOMString) -> ErrorResult {
Ok(())
}
diff --git a/src/components/script/dom/htmlulistelement.rs b/src/components/script/dom/htmlulistelement.rs
index e99dd6a7c44..207b0866b7c 100644
--- a/src/components/script/dom/htmlulistelement.rs
+++ b/src/components/script/dom/htmlulistelement.rs
@@ -44,7 +44,7 @@ impl HTMLUListElement {
pub fn Compact(&self) -> bool {
false
}
-
+
pub fn SetCompact(&mut self, _compact: bool) -> ErrorResult {
Ok(())
}
diff --git a/src/components/script/html/hubbub_html_parser.rs b/src/components/script/html/hubbub_html_parser.rs
index e2a870c2bc9..438d28a4898 100644
--- a/src/components/script/html/hubbub_html_parser.rs
+++ b/src/components/script/html/hubbub_html_parser.rs
@@ -54,7 +54,7 @@ type JSResult = ~[JSFile];
enum CSSMessage {
CSSTaskNewFile(StylesheetProvenance),
- CSSTaskExit
+ CSSTaskExit
}
enum JSMessage {
diff --git a/src/components/script/layout_interface.rs b/src/components/script/layout_interface.rs
index 9dce53fc36e..197bd123e3f 100644
--- a/src/components/script/layout_interface.rs
+++ b/src/components/script/layout_interface.rs
@@ -73,7 +73,7 @@ pub struct ContentBoxesResponse(~[Rect<Au>]);
pub struct HitTestResponse(UntrustedNodeAddress);
pub struct MouseOverResponse(~[UntrustedNodeAddress]);
-/// Determines which part of the
+/// Determines which part of the
#[deriving(Eq, Ord, TotalEq, TotalOrd)]
pub enum DocumentDamageLevel {
/// Reflow, but do not perform CSS selector matching.
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index c1c3a717f1a..90d0025d237 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -742,7 +742,7 @@ impl ScriptTask {
// needs to be smarter about exiting pipelines.
None => false,
}
-
+
}
/// The entry point to document loading. Defines bindings, sets up the window and document
@@ -1096,7 +1096,7 @@ impl ScriptTask {
}
None => { target_compare = true; }
}
-
+
if target_compare {
if mouse_over_targets.is_some() {
page.damage(MatchSelectorsDocumentDamage);