Skip to content

Commit

Permalink
Removed comment as issue #1847 is now fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoabinader committed Aug 14, 2014
1 parent 66eb73c commit 3b916d4
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/components/script/dom/document.rs
Expand Up @@ -666,8 +666,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {

fn Images(&self) -> Temporary<HTMLCollection> {
let window = self.window.root();

// FIXME: https://github.com/mozilla/servo/issues/1847
struct ImagesFilter;
impl CollectionFilter for ImagesFilter {
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
Expand All @@ -680,8 +678,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {

fn Embeds(&self) -> Temporary<HTMLCollection> {
let window = self.window.root();

// FIXME: https://github.com/mozilla/servo/issues/1847
struct EmbedsFilter;
impl CollectionFilter for EmbedsFilter {
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
Expand All @@ -693,12 +689,10 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
}

fn Plugins(&self) -> Temporary<HTMLCollection> {
// FIXME: https://github.com/mozilla/servo/issues/1847
self.Embeds()
}

fn Links(&self) -> Temporary<HTMLCollection> {
// FIXME: https://github.com/mozilla/servo/issues/1847
if self.links.get().is_none() {
let window = self.window.root();
let root = NodeCast::from_ref(self);
Expand All @@ -710,8 +704,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {

fn Forms(&self) -> Temporary<HTMLCollection> {
let window = self.window.root();

// FIXME: https://github.com/mozilla/servo/issues/1847
struct FormsFilter;
impl CollectionFilter for FormsFilter {
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
Expand All @@ -724,8 +716,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {

fn Scripts(&self) -> Temporary<HTMLCollection> {
let window = self.window.root();

// FIXME: https://github.com/mozilla/servo/issues/1847
struct ScriptsFilter;
impl CollectionFilter for ScriptsFilter {
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
Expand All @@ -738,8 +728,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {

fn Anchors(&self) -> Temporary<HTMLCollection> {
let window = self.window.root();

// FIXME: https://github.com/mozilla/servo/issues/1847
struct AnchorsFilter;
impl CollectionFilter for AnchorsFilter {
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
Expand Down

0 comments on commit 3b916d4

Please sign in to comment.