Commit Graph

64 Commits

Author SHA1 Message Date
Daniel Holbert
019596e0ab Bug 849407: Disable flex item style fixup for anonymous content in nsFrameManager::ReResolveStyleContext(). r=bz 2013-03-13 13:54:05 -07:00
Daniel Holbert
4987835a8d Bug 812822 part 3: Add a TreeMatchContext flag to indicate that we should skip flex item style fixup, and use it when framing anonymous content in ConstructFrame(). r=bz 2013-02-20 23:35:03 -08:00
Cameron McCormack
39a2dac253 Bug 829363 - Make :scope match style scope roots. r=bzbarsky 2013-01-16 15:48:29 +11:00
Cameron McCormack
e94d9ec2e9 Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack
f318d9c354 Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-09 10:25:48 +11:00
Cameron McCormack
4129a6997c Backout bug 508725 (d267bb4b58b5, 50f71edffeb9, 6aec8e22fe60, e62e1f33958a, 0f146c435249, eb959b9f4862, 2b0ee42f3aa0, 02db01cd6796, 2ef0e517d43d, b650588e05c9 and a3c916829d56) for build failure on a CLOSED TREE. 2013-01-08 19:36:21 +11:00
Cameron McCormack
3a91b6b9fc Bug 508725 - Part 6: Modify selector matching to take style scopes into account. r=dbaron 2013-01-08 19:09:23 +11:00
Cameron McCormack
e48c81d4fd Bug 508725 - Part 5: Record the <style scoped> elements in scope in preparation for selector matching. r=dbaron 2013-01-08 19:09:23 +11:00
Boris Zbarsky
1891b47465 Bug 648722 part 2. Make :scope match the context node for selectors API calls. r=dbaron 2012-12-04 23:15:47 -05:00
Cameron McCormack
2302c9d358 Bug 811581 - Add a base class for all *RuleProcessorData classes. r=bz 2012-11-15 06:09:01 +11:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ryan VanderMeulen
b74e4a29db Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
061d4c2616 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ehsan Akhgari
541f19c90a Bug 762345 - Skip all the QIing stuff in the TreeMatchContext constructor if possible; r=bzbarsky 2012-06-07 15:19:56 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Matthews
6d40eda1b5 Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron 2012-03-30 02:16:22 -04:00
Ms2ger
b09173c3e1 Backout bug 722853 - changeset f40a17213344; r=orange 2012-03-26 18:41:19 +02:00
Josh Matthews
2b74572c3c Bug 722853 - Derive private browsing status from docshell when assigning element states. r=dbaron
--HG--
extra : rebase_source : d59985b415ccafc4a9c8e8dbea9b69fa61602b8b
2012-02-21 09:57:09 -05:00
Boris Zbarsky
0b53563082 Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Phil Ringnalda
47dd3c842e Back out 83a33626d965:6e9330f5a9bd (bug 732667 and bug 705877) for Windows build bustage 2012-03-12 22:12:41 -07:00
Boris Zbarsky
2b015eb44c Bug 705877 part 3. Hang an optional Bloom filter and some methods for managing it off the TreeMatchContext. r=dbaron 2012-03-12 22:54:15 -05:00
Olli Pettay
a86b1a4d43 Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Boris Zbarsky
2bad4d16d0 Bug 598832 part 15. Make RuleProcessorData not inherit from TreeMatchContext anymore, so we can decouple the lifetimes. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
bab493667a Bug 598832 part 14. Make RuleProcessorData a stack-only class. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
1d0038c7b8 Bug 598832 part 13. Stop using RuleProcessorData in the DOM-exposed selector-matching methods. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
5299172bbc Bug 598832 part 12. Stop using RuleProcessorData in SelectorMatchesTree. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
ad215aa928 Bug 598832 part 11. Stop caching the parent content pointer and the element pointer; just use the passed-in aElement. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
a2477a6565 Bug 598832 part 10. Stop caching information about the element's attributes; just get it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
b2528f25ed Bug 598832 part 9. Stop caching the element's local name; just get it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
c2d78db208 Bug 598832 part 7. Stop caching the content state of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
06fc5fd9e4 Bug 598832 part 6. Stop caching the language of elements; just reget it from the DOM as needed. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
ed28ec7565 Bug 598832 part 5. Move caching of nth-index stuff to the TreeMatchContext. r=dbaron 2011-03-29 13:29:21 -04:00
Boris Zbarsky
14b6974cbf Bug 598832 part 4. Move tracking of whether we're in quirks mode to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
0c71da47ea Bug 598832 part 3. Stop keeping track of whether the node or document is HTML in the RuleProcessorData. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
56f2955c75 Bug 598832 part 2. Move tracking of the scope root to the TreeMatchContext. r=dbaron 2011-03-29 13:29:20 -04:00
Boris Zbarsky
1450ef8e9f Bug 598832 part 1. Move TreeMatchContext out to where things other than the rule processor can get at it. r=dbaron 2011-03-29 13:29:20 -04:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Boris Zbarsky
b3de40cc58 Bug 562688 part 14. Eliminate eELEMENT usage in the rule processor; switch to Element as we can. r=dbaron 2010-04-30 09:12:06 -04:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
L. David Baron
f094fceed0 Add method to munge the content state appropriately for how we're matching so that matching operations in HTML and CSS style sheets follow the new rules. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron
a0fa66317b Fix initialization comment in nsRuleProcessorData. (Bug 147777) r=sdwilsh 2010-04-02 18:58:26 -07:00
Markus Stange
5fb3e948bb Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Markus Stange
4a997d3554 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Shawn Wilsher
27a2fcd36e Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Shawn Wilsher
56b8597aca Backed out changeset bca0b6ed92e4 2010-02-18 10:02:49 -08:00