Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Implement :empty pseudo selector - #36

Merged
bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:empty-pseudo-selector
Jul 12, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
frewsxcv:empty-pseudo-selector

Conversation

@frewsxcv

Copy link
Copy Markdown
Author

Not sure why Travis isn't picking this up...

@SimonSapin

Copy link
Copy Markdown
Member

I think this incorrectly doesn’t match <p><!-- only a comment --></p> for example. The Node trait probably needs a new method like fn is_element_or_non_empty_text(&self) -> bool;. (CDATA nodes and entity reference nodes don’t exist anymore, parsers emit text nodes instead.)

Not sure why Travis isn't picking this up...

https://travis-ci.org/servo/rust-selectors/requests says "branch not included or excluded". @metajack, do you know if acc8323 would exclude PRs?

@frewsxcv

Copy link
Copy Markdown
Author

I think this incorrectly doesn’t match <p><!-- only a comment --></p> for example

Ah, you're right. I forgot that comments are Objects and are considered Nodes. I'll add in that trait method

@frewsxcv
frewsxcv force-pushed the empty-pseudo-selector branch from 99ce371 to 5ea8aca Compare July 12, 2015 12:32
@frewsxcv

Copy link
Copy Markdown
Author

Let me know how that latest push looks

@frewsxcv
frewsxcv force-pushed the empty-pseudo-selector branch from 5ea8aca to fe76c9a Compare July 12, 2015 12:38
@frewsxcv
frewsxcv force-pushed the empty-pseudo-selector branch from fe76c9a to 1a962c3 Compare July 12, 2015 12:43
@SimonSapin

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown

📌 Commit 1a962c3 has been approved by SimonSapin

@bors-servo

Copy link
Copy Markdown

⌛ Testing commit 1a962c3 with merge a6cf1fb...

@bors-servo

Copy link
Copy Markdown

☀️ Test successful - travis

@bors-servo
bors-servo merged commit 1a962c3 into servo:master Jul 12, 2015
@frewsxcv
frewsxcv deleted the empty-pseudo-selector branch July 12, 2015 22:11
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 13, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 13, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 13, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 13, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 13, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 22, 2015
frewsxcv added a commit to frewsxcv/servo that referenced this pull request Jul 22, 2015
bors-servo pushed a commit to servo/servo that referenced this pull request Jul 22, 2015
aweinstock314 pushed a commit to aweinstock314/servo that referenced this pull request Jul 28, 2015
jrmuizel pushed a commit to jrmuizel/gecko-cinnabar that referenced this pull request Jun 12, 2017
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Sep 30, 2019
…m frewsxcv:bump-selectors); r=Ms2ger

servo/rust-selectors#36

Source-Repo: https://github.com/servo/servo
Source-Revision: 488f3b65a1bce549bcda718ab745aa47528cd160

UltraBlame original commit: a208a8eb21ddf244c6df14291335014966aa3015
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 1, 2019
…m frewsxcv:bump-selectors); r=Ms2ger

servo/rust-selectors#36

Source-Repo: https://github.com/servo/servo
Source-Revision: 488f3b65a1bce549bcda718ab745aa47528cd160

UltraBlame original commit: a208a8eb21ddf244c6df14291335014966aa3015
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 1, 2019
…m frewsxcv:bump-selectors); r=Ms2ger

servo/rust-selectors#36

Source-Repo: https://github.com/servo/servo
Source-Revision: 488f3b65a1bce549bcda718ab745aa47528cd160

UltraBlame original commit: a208a8eb21ddf244c6df14291335014966aa3015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants