mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Removed comment as issue #1847 is now fixed.
This commit is contained in:
parent
66eb73ca44
commit
3b916d4e30
1 changed files with 0 additions and 12 deletions
|
@ -666,8 +666,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
|
|
||||||
fn Images(&self) -> Temporary<HTMLCollection> {
|
fn Images(&self) -> Temporary<HTMLCollection> {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
|
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
struct ImagesFilter;
|
struct ImagesFilter;
|
||||||
impl CollectionFilter for ImagesFilter {
|
impl CollectionFilter for ImagesFilter {
|
||||||
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
||||||
|
@ -680,8 +678,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
|
|
||||||
fn Embeds(&self) -> Temporary<HTMLCollection> {
|
fn Embeds(&self) -> Temporary<HTMLCollection> {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
|
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
struct EmbedsFilter;
|
struct EmbedsFilter;
|
||||||
impl CollectionFilter for EmbedsFilter {
|
impl CollectionFilter for EmbedsFilter {
|
||||||
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
||||||
|
@ -693,12 +689,10 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn Plugins(&self) -> Temporary<HTMLCollection> {
|
fn Plugins(&self) -> Temporary<HTMLCollection> {
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
self.Embeds()
|
self.Embeds()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn Links(&self) -> Temporary<HTMLCollection> {
|
fn Links(&self) -> Temporary<HTMLCollection> {
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
if self.links.get().is_none() {
|
if self.links.get().is_none() {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
let root = NodeCast::from_ref(self);
|
let root = NodeCast::from_ref(self);
|
||||||
|
@ -710,8 +704,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
|
|
||||||
fn Forms(&self) -> Temporary<HTMLCollection> {
|
fn Forms(&self) -> Temporary<HTMLCollection> {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
|
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
struct FormsFilter;
|
struct FormsFilter;
|
||||||
impl CollectionFilter for FormsFilter {
|
impl CollectionFilter for FormsFilter {
|
||||||
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
||||||
|
@ -724,8 +716,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
|
|
||||||
fn Scripts(&self) -> Temporary<HTMLCollection> {
|
fn Scripts(&self) -> Temporary<HTMLCollection> {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
|
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
struct ScriptsFilter;
|
struct ScriptsFilter;
|
||||||
impl CollectionFilter for ScriptsFilter {
|
impl CollectionFilter for ScriptsFilter {
|
||||||
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
||||||
|
@ -738,8 +728,6 @@ impl<'a> DocumentMethods for JSRef<'a, Document> {
|
||||||
|
|
||||||
fn Anchors(&self) -> Temporary<HTMLCollection> {
|
fn Anchors(&self) -> Temporary<HTMLCollection> {
|
||||||
let window = self.window.root();
|
let window = self.window.root();
|
||||||
|
|
||||||
// FIXME: https://github.com/mozilla/servo/issues/1847
|
|
||||||
struct AnchorsFilter;
|
struct AnchorsFilter;
|
||||||
impl CollectionFilter for AnchorsFilter {
|
impl CollectionFilter for AnchorsFilter {
|
||||||
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
fn filter(&self, elem: &JSRef<Element>, _root: &JSRef<Node>) -> bool {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue