Opened 3 years ago

Last modified 3 years ago

#1924 new defect

CSS syntax of filter is not validated in like Chrome

Reported by: passbrains Assignee:
Priority: P3 Milestone:
Module: Unknown Keywords:
Cc: Blocked By:
Blocking: Platform: Maxthon
Ready: no Confidential: no
Tester: Verified working:
Review URL(s):

Description (last modified by Ross)

Adapted from https://www.passbrains.com/dashboard/view-ticket.php?ticket_no=MAX-55

Environment

Windows + 8 64bit + Maxthon + English

How to reproduce

  1. Open www.timesofindia.com
  2. Filter rule is 

indiatimes.com##div[style="float:left;font-size:20px;font-weight:normal;font-family:georgia;padding:10px;"]
Add this filter without first quotes for ex: 
indiatimes.com##div[style=float:left;font-size:20px;font-weight:normal;font-family:georgia;padding:10px;"]

Chrome displays filter rule "is not a valid CSS selector".

Observed behaviour

Maxthon accepts filter without any error.

Expected behaviour

Maxthon should display filter rule "is not a valid CSS selector".

Attachments (2)

3766_1422806800_maxthonCss.png (469.2 KB) - added by passbrains 3 years ago.
3766_1422806800_chromeCss.png (198.3 KB) - added by passbrains 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by passbrains

Changed 3 years ago by passbrains

comment:1 Changed 3 years ago by Ross

  • Description modified (diff)
  • Summary changed from CSS syntax of filter is not validated. to CSS syntax of filter is not validated in like Chrome

comment:2 Changed 3 years ago by jobp

We've looked into this issue, and it doesn't seem to effect other invalid selectors break element hiding. We added the following filters to ABP for Maxthon, and visited adblockplus.org to see whether the site rendered empty:
adblockplus.org##*[style="]
adblockplus.org##body

It did. Therefore, prioritized as P3 for now.

comment:3 Changed 3 years ago by jobp

  • Priority changed from Unknown to P3
Note: See TracTickets for help on using tickets.